|
From: Ioannis V. <no...@ho...> - 2003-03-01 18:56:10
|
Sorry guys & girls a mistake correction.=0D =0D <iso646.h> and <ciso646> *belong* to the C++98 standard, but they are provided only for=0D compatibility reasons. That is, they are decorative only since and, bitan= d etc. are built in=0D keywords in C++98.=0D =0D =0D As the standard says:=0D =0D "[lex.key] 2.11 Keywords=0D 1 The identifiers shown in Table 3 are reserved for use as keywords (that= is they are=0D unconditionally treated as keywords in phase 7):=0D =0D Table 3=97keywords=0D ___________________________________________________________=0D asm do if return typedef=0D auto double inline short typeid=0D bool dynamic_cast int signed typename=0D break else long sizeof union=0D case enum mutable static unsigned=0D catch explicit namespace static_cast using=0D char export new struct virtual=0D class extern operator switch void=0D const false private template volatile=0D const_cast float protected this wchar_t=0D continue for public throw while=0D default friend register true=0D delete goto reinterpret_cast try _ _____________________________________________________________ =0D =0D 2 Furthermore, the alternative representations shown in Table 4 for certa= in operators and punctuators (2.5) are reserved and shall not be used otherwise:=0D =0D Table 4=97alternative representations=0D _ _______________________________________________________=0D and and_eq bitand bitor compl not=0D not_eq or or_eq xor xor_eq _=20 _______________________________________________________=0D =0D "=0D =0D =0D and=0D =0D =0D "[diff.header.iso646.h] C.2.2.2 Header <iso646.h>=0D =0D 1 The tokens and, and_eq, bitand, bitor, compl, not_eq, not, or, or_eq, x= or, and xor_eq are=0D keywords in this International Standard (2.11). They do not appear as mac= ro names defined in <ciso646>."=0D =0D =0D That is, these header files <iso646.h> and <ciso646> are considered decorative for C++ (but not for C).=0D =0D =0D Although the above, many compilers are not C++98 compliant on this and st= ill require these header files in C++.=0D =0D =0D Sorry for the many emails.=0D =0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys=20 |