my thotsa static member is a class member, while a non-static member is an boject member.
It is hard for the compiler to check validity of the sytax if the member fuction poiter is an object memeber. because the compiler cannot always know the exact memeber function it is pointing to at compile time.
followon question
Thanks, VeryGood. The compiler really complains about non-static member functions as shown in error message.
My followon question is that: in a class defintion, there are acutally many non-static member function. Here the member function is private, does it matter? Is it possible to define a non-static private member function?
TIA
My followon question is that: in a class defintion, there are acutally many non-static member function. Here the member function is private, does it matter? Is it possible to define a non-static private member function?
TIA
Who knows who will love your smile in next minute