Does anybody know whether this code
default: return 0;
case 1 : return 1;
case 2 :
is complient with the Standard?
It compiles (and executes OK) with MSVC++6.0
I haven't check other ones, but it looks a bit bothering to me
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]