This documentation is archived and is not being maintained.

Compiler Error C2736

'keyword' keyword is not permitted in cast

The keyword is invalid in a cast.

Example

// C2736.cpp
int main()
{
   return (virtual) 0;   // C2736
}
Show: