
2 Oct
2011
2 Oct
'11
9:05 p.m.
on Sun Oct 02 2011, Lorenzo Caminiti <lorcaminiti-AT-gmail.com> wrote:
Hello all,
This might not be a "pure" Boost question but do you know if compilers portably support the 'not' keyword?
Yes they do... or they used to.
int main ( ) { if(not false) return 0; return 1; }
This compiles on GCC but not on MSVC... Why? If you look at the C++ standard, it says that 'not' is part of the language...
Huh; I don't know. -- Dave Abrahams BoostPro Computing http://www.boostpro.com