bool bFailed = false;
bFailed |= bFailed ? true : condition1;
bFailed |= bFailed ? true : condition2;
bFailed |= bFailed ? true : condition3;
if( !bFailed ) {
PerformActionOnAllSuccess();
DoNormalCleanup();
} else {
DoFailedCleanup();
}
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.