Re: C question for you old guys ;-)
Re: C question for you old guys ;-)
- Subject: Re: C question for you old guys ;-)
- From: Andrew Pinski <email@hidden>
- Date: Wed, 11 Jun 2003 23:18:20 -0400
On Wednesday, Jun 11, 2003, at 20:32 US/Eastern, Matthew Toia wrote:
#define and &&
#define or ||
#define not !
are actually C++ standard keywords now. (i.e. can be used without any
macros)
g++ doesn't seem to agree with you, though it makes _some_ sense.
Which version, 3.0 included them as keywords.
In fact it was added by this patch:
Thu Nov 17 15:30:50 1994 Mike Stump <email@hidden>
* gxx.gperf, hash.h, lex.c (init_lex, real_yylex), parse.y: Add
new
ANSI keywords and, and_eq, bitand, bitor, explicit, namespace,
not,
not_eq, or, or_eq, typename, using, xor, xor_eq to g++. Still
need
to add support for explicit, namespace, typename, and using,
support
for the rest is already in.
Thanks,
Andrew Pinski
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.