29 Oct
2013
29 Oct
'13
12:58 a.m.
On 29 October 2013 00:56, Vicente J. Botet Escriba wrote:
Le 29/10/13 01:52, Beman Dawes a écrit :
On Mon, Oct 28, 2013 at 6:10 PM, Vicente J. Botet Escriba < vicente.botet@wanadoo.fr> wrote:
The problem I have is don't know a Boost.Config macro to know if the user
compiles with C++11, so I need to rely on other feature macros.
Would __GXX_EXPERIMENTAL_CXX0X__ work?
This is not portable, it is GNU specific, isn't it?
Yes, but you could combine it with checking the value of __cplusplus: #if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__)