Actually, helnow didn't quite read your post correctly. His example checks a=1 or b=2. || is the boolean OR operator. To get a= 1 and b=2 you need the AND operator &&:
showing another way to do it. its meant for people that use different character set (hence the word iso) so if he was from say germany then it would still keep it c++ compliant