Next: When should I use
Up: class and struct
Previous: What are static members?
A static method has full access to the members of a class. If this
isn't required, the method should be a function.
static void f(A &a)
a.i = 0;
Alexis Angelidis (PhD)