(C++) static member function

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) static member function

 

A static member function is a type of member function that does not need a specific object.

 

 

 

 

 

Advice

 

 

 

 

 

 

Notes to self

 

 

 

 

 

 

References

 

  1. Bjarne Stroustrup. The C++ Programming Language (4th edition). 2013. ISBN: 978-0-321-56384-2. Chapter 16.4. Advice. page 479: '[11] Make a function that needs access to the representation of a class but needn't be called for a specific object a static member function'