al Studio 2010 (v16.00)
#if defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1600)
#define STLPLUS_HAS_CXX11 1
#endif

// Borland
// Borland use an old version of Dinkumware's library which doesn't have of the C++11 features (as of v6.31)
// Add support as soon as it becomes available which I think is Dinkumware v505
#if defined(__BORLANDC__) &amp;&amp; (__BORLANDC__ &gt;= 0x631)
#include &lt;yvals.h&gt;
#if defined(_CPPLIB_VER) &amp;&amp; (_CPPLIB_VER &gt;= 505)
#define STLPLUS_HAS_CXX11 1
#endif
#endif

/////