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

-- 
Sent from my mobile device
Lorenzo

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk