3 ms·
While it is true that you can use `and` in C++11, that's a bit of an understatement: these keywords have in fact been present since the very first ISO C++ stand
by areyousure 5y ago
While it is true that you can use `and` in C++11, that's a bit of an understatement: these keywords have in fact been present since the very first ISO C++ standard C++98!
- frankzinger 5y agoNote however that MSVC does not support these by default. You need to #include <ciso646> before their use, or you need to pass the `/permissive-` compiler option.
- account42 5y agoYou should be using /permissive- anyway unless you are dealing with a legacy codebase that breaks with that.
- Trollmann 5y agoTIL! Always thought this was a C++11 feature. Then this argument against the 'new' keywords is even weaker.