From RAD Studio
Jump to: navigation, search

Go Up to Keywords, Alphabetical Listing Index


Modifiers (C++), Keyword Extensions


virtual __classmethod int FUNCTION_NAME(int );
__classmethod virtual int FUNCTION_NAME(int );


The __classmethod keyword was added to declare class methods in C++. A class method is similar to a static method, except that it has an additional (hidden) parameter: the metaclass of the class where the method is defined.

See Also