c++ - Alternative Tokens
- Christof Meerwald (17/17) Jun 05 2003 DM doesn't support all of the alternative tokens (see 2.5 Alternative to...
- Walter (6/23) Jun 05 2003 It does if you compile with -A. It's been in there since it was first
DM doesn't support all of the alternative tokens (see 2.5 Alternative tokens
[lex.digraph]):
int main(int argc, char *argv[])
{
int i = compl((2 bitor 4) xor 4) bitand 3;
bool b = not ((true or false) and true);
b and_eq true;
b or_eq false;
b xor_eq true;
b not_eq not b;
return 0;
}
bye, Christof
--
http://cmeerw.org JID: cmeerw jabber.at
mailto cmeerw at web.de
...and what have you contributed to the Net?
Jun 05 2003
It does if you compile with -A. It's been in there since it was first proposed eons ago, but I haven't seen one single case of it in the wild excluding conformance test suites. "Christof Meerwald" <cmeerw web.de> wrote in message news:bbo7ft$j4m$2 digitaldaemon.com...DM doesn't support all of the alternative tokens (see 2.5 Alternativetokens[lex.digraph]): int main(int argc, char *argv[]) { int i = compl((2 bitor 4) xor 4) bitand 3; bool b = not ((true or false) and true); b and_eq true; b or_eq false; b xor_eq true; b not_eq not b; return 0; } bye, Christof -- http://cmeerw.org JID: cmeerw jabber.at mailto cmeerw at web.de ...and what have you contributed to the Net?
Jun 05 2003








"Walter" <walter digitalmars.com>