The Mudcat Café TM
Thread #28443   Message #354346
Posted By: MudGuard
10-Dec-00 - 04:42 AM
Thread Name: BS: Is this comprehensible?
Subject: RE: BS: Is this comprehensible?
Hi Jon, it will only work with a static member function. Each non-static member function has one hidden parameter (the this-pointer) which makes it impossible to use the member function as a parameter
They are always called in the form variable.function(parameters)
Non-static member functions are associated to an instance of the class (the one for which they are called).

Static member functions do not have access to "this", they can only access static member variables. But they can be used as parameters.
They are called from within the class by function(parameters) and from without by classname::function(parameters).
Static member functions are not associated with an instance of the class.

HTH
MudGuard