Compiler Error C2736
'keyword' keyword is not permitted in cast
The keyword is invalid in a cast.
The following sample generates C2736:
// C2736.cpp
int main() {
return (virtual) 0; // C2736
// try the following line instead
// return 0;
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for