Boost logo

Boost :

Subject: Re: [boost] The Lonely Song of the MPL Maintainer -- or Boost support for antediluvian compiler and the future supprot of C++11
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-08-15 05:47:51


>>> I have a question, is SFINAE_EXPR a C++0x or C++03 feature?
>>
>> It's possible to have it in C++03, but it's not required before C++0x.
>>
>>
>
> Thanks for the clarification. I was not aware of this detail. In this case
> you are right the list of c++03 compliant compilers should be larger.
>
> John, could this feature have two corresponding macros, one optional
> feature
> BOST_HAS_SFINAE_EXPR for c++03 and one defect BOST_NO_SFINAE_EXPR for
> c++11?

At present we already have BOOST_NO_SFINAE_EXPR, adding a second macro just
adds unnecessary redundancy IMO. Besides we've sort of already set the
president that missing C++11 features have BOOST_NO_ macros and not
BOOST_HAS_.

John.


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