Quote:
So there are various choices of numeric results, and there is the choice "This won't compile because i isn't in scope." I thought this was annoying because I know that this code compiles on many compilers, but the bit about "ANSI conforming compiler" left me wondering if ansi says i should not be in scope.
Variable i is not in scope at line 4. I think this falls under the "someone is bound to think that whatever I say is must-know information for any good c++ programmer", but then it was not one of your two examples :P