Boost logo

Boost :

Subject: [boost] the 'not' keyword
From: Lorenzo Caminiti (lorcaminiti_at_[hidden])
Date: 2011-10-02 16:15:41

Hello all,

This might not be a "pure" Boost question but do you know if compilers
portably support the 'not' keyword?

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...

Thanks a lot.

Sent from my mobile device

Boost list run by bdawes at, gregod at, cpdaniel at, john at