static member functions and this pointer

This tip submitted by dhruv shekhawat on 2013-07-15 14:35:26. It has been viewed 2007 times.
Rating of 2.2 with 30 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!