Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C2736
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft