Bazzy (3527) Link to this post Dec 22, 2009 at 4:25pm That is declaring a static member function called 'a' which returns an instance of the class 'A' itself. A static class member means that it doesn't depend on an object, is more like a global function http://en.wikipedia.org/wiki/Static_method#Static_methods |
wikipedia wrote: |
---|
...in which case it is called a class method or a static method... |