On Sat, Feb 7, 2015 at 12:47 AM, Oliver Kowalke
Hi,
I encountered that '__cplusplus < 201103L' evaluates on MSVC (14.0 ...) to true?! At least on GCC + CLANG this test works - what about MSVC?
Compilers tend to define that when they think they are fully compliant with a particular version of the standard. Even if you invoke them in the latest standards modes. You can see that from the Predef test results < http://www.boost.org/development/tests/develop/developer/predef.html>. For example VS 2015 defines it as: BOOST_LANG_STDCPP = 271100001 (27,11,1) | Standard C++ Which is still C++98. And some of the compilers that define it for C++11 define it at various month times in the year (some January some March). And some, like Intel, just define at 1. -- -- Rene Rivera -- Grafik - Don't Assume Anything -- Robot Dreams - http://robot-dreams.net -- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail