__classmethod
Go Up to Keywords, Alphabetical Listing Index
Contents
Category
Modifiers (C++), Keyword Extensions
Syntax
virtual __classmethod int FUNCTION_NAME(int );
__classmethod virtual int FUNCTION_NAME(int );
Description
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.