The CodeWarrior C++ compiler recognizes some extensions to the ISO/IEC 14882-2003 C++ standard that are also recognized by the GCC (GNU Compiler Collection) C++ compiler.
The compiler allows the use of the :: operator, of the form class::member, in a class declaration.
class MyClass { int MyClass::getval(); };