Boost logo

Boost :

Subject: Re: [boost] [c++11] MSVC does not define __cplusplus?
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-02-07 13:34:32


2015-02-07 17:13 GMT+01:00 Niall Douglas <s_sourceforge_at_[hidden]>:

> __cplusplus is fairly useless except for detecting a C++ compiler.
>

hmmm - I thought that 201103L indicates an complete C++11 feature set

> You'll need to use feature detection e.g.
> https://github.com/ned14/Boost.BindLib/blob/master/include/cpp_feature
> .h or
> https://github.com/ned14/Boost.BindLib/blob/master/include/boost/confi
> g.hpp if you prefer the Boost named macros.
>

which feature is responsible for parameter expansion in lambdas?
so far I test for BOOST_NO_CXX11_LAMBDAS, BOOST_NO_CXX11_VARIADIC_TEMPLATES
and BOOST_NO_CXX11_VARIADIC_MACROS (beside of others)

Oliver


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