static member functions and this pointer

This tip submitted by dhruv shekhawat on 2013-07-15 14:35:26. It has been viewed 6007 times.
Rating of 4.2 with 68 votes



Static member functions in c++ never receive (this) pointer. they cannot access non static data members, and const virtual cant be used with static member functions.



More tips

Help your fellow programmers! Add a tip!