range syntax for C
t.l.hansen
uunet!pegasus.ATT.COM!hansen
Fri Jan 3 14:53:00 PST 1992
others wrote:
<<< How about using a double colon like this 1::10
<< Except it might do screwy things if C++ ever wanted to adopt case ranges.
to which I responded:
< Would it really do screwy things? Because of the maximal munch rule, a new
< token "::" would have to be parsed as "::" and not as a ":" followed by
< another ":".
Sigh, somedays you can't win. I've been working with C++ for 6-7 years, have
written a fairly popular book on the subject, and I KNOW that :: is an
operator in C++.
But, was I thinking about C++ when I responded above? Did I notice the "++"
in the above quote? No, it flew completely by me.
As a famous comedienne often said: Never mind.
Sorry for the wasted bandwidth.
Tony Hansen
hansenapegasus.att.com, tonyaattmail.com
att!pegasus!hansen, attmail!tony
More information about the Numeric-interest
mailing list