Statics in classes
A member of a class may be declared as static. This has a similar effect to the use of statics in
functions. Only one copy of the item or function is made and all instinces of this class share it.
This can be exploited in some clever ways.
Static member functions must not access non-static members of their class, since they do not know
which instance they are part of.
Next note in series
Back to index