In article <2f2d78e1.0309241538.304eaaa2@posting.google.com >,
sbeasley@cs.uic.edu says...
[ ... ]
[color=blue]
> FWIW, VC++.NET (aka VC++7) does not accept it. But since VC++6 accepts
> it, I don't know why ISO C++ shouldn't also accept it. That is, I
> figured it just happened to be difficult or impossible to do, but
> VC++6 did it.[/color]
Off the top of my head, I don't remember exactly what you're talking
about, but I guess it doesn't really matter. VC++ 6 simplifies the
language to the point that quite a few ambiguities in the real language
don't exist in its language. An ambiguity results when a particular
expression _could_ be interpreted in one of two possible ways. When/if
the compiler is simply limited to the point that it doesn't recognize
one of those possibilities at all, then what should be ambiguous input
is unambiguous for it. Making the compiler recognize the other
possibility, however, makes the expression ambiguous.
--
Later,
Jerry.
The universe is a figment of its own imagination.