25.5 const and volatile on Member Functions
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

25.5 const and volatile on Member Functions

Visual Studio .NET 2003
The const and volatile modifiers on member functions are not supported.

Example

__gc class G {
   int K(int x, int y) const {return x;} // error
};
Show:
© 2016 Microsoft