"RainerFaulstich" <Ra**************@t-online.de> wrote in message
news:ch*************@news.t-online.com...
Hi,
Some dummy question :
Are static member functions of a class indeed a single instance for all
instances of the class or have difference instances of this class have its
own instances of this function?
Rainer
You misunderstand. All member functions exist as only one instance, static
or non-static.
The difference between a non-static member function and a static member
function is that the this keyword is not usable in a static member function.
Think of the this keyword as an extra hidden parameter which every
non-static member function has (and in fact that is how it is normally
implemented).
john