<<< Static data members | Index | Static member function example >>> |
Static member functions also belong to the class
Objects can be used to call these functions (but this is confusing.)
Static member functions
can be called without an object
don't have a this pointer (discussed later)
cannot refer to non-static members in any way.
<<< Static data members | Index | Static member function example >>> |