What is the set of valid outputs for the following, according to the standard?
bool x;
cout << (x ? 1 : 2);
edit: unknown(google) has got it. In gcc my code was crashing because of sprite.setFrame(isPressed ? 0 : 1)
with the conditional returning 28!