Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Alternative Tokens
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 Alternative Jun 05 2003
|