1. The address of the C ++ static member function can be stored as a normal function pointer, while the address of a common member function must be stored as a class member function pointer.
Example:
1. class base {
2. Static int func1 ();
3. Int func2 ();
4 .};
5. INT (* pf1) () = & base: func1; // common function pointer
6. INT (base: * pf2) () = & base: func2; // member function pointer
2. static member functions cannot call non-static members of a class. Because the C ++ static member function does not include the this pointer.
3. c ++ static member functions cannot be declared as virtual, const, and volatile functions at the same time.
Example:
1. class base {
2. Virtual static void func1 (); // Error
3. Static void func2 () const; // Error
4. Static void func3 () volatile; // Error
5 .};
The last point is that static members can be accessed independently, that is, they can be accessed without creating any object instance.