Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
illegal
__leavestatement
Remarks
A __leave statement must be inside a __try block.
Example
The following example generates C2703:
// C2703.cpp
int main() {
__leave; // C2703
__try {
// try the following line instead
__leave;
}
__finally {}
}
See also
The __leave keyword
try-except statement
try-finally statement