Boost logo

Boost :

Subject: Re: [boost] [config] Is there a macro to check if we are compiling inC++0x mode?
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-05-20 05:18:29


>In Boost.Config I see "Macros that describe C++0x features not supported",
>but there is a macro to check if the compiler is working on C++0x mode?

I don't believe so, you have to check to see if the particular C++0x feature
you want to use are supported. I don't think that's unreasonable given that
compiler vendors are implementing the new features piecemeal.

John.


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