Boost logo

Boost :

Subject: Re: [boost] Concept Traits Library
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-07-12 12:34:54


On 7/11/2010 4:37 AM, Mathias Gaunard wrote:
> Le 10/07/2010 18:13, Edward Diener a écrit :
>> On 7/10/2010 10:57 AM, Steven Watanabe wrote:
>>> AMDG
>>>
>>> Edward Diener wrote:
>>>> Just the operator metafunctions in the CTL are useful even without the
>>>> attempts to add concepts in the form of metafuncions. I do not think
>>>> C++0x, which is still a year or more away, has any "native" support
>>>> which would allow me to determine whether a type has an operator.
>>>
>>> I believe that extended SFINAE makes it a lot easier.
>>
>> Thanks for the information. Does Boost currently have a macro which
>> checks for extended SFINAE for any compilers which may support it ?
>
> I introduced it a while ago but I'm not certain it works correctly.
>
> BOOST_NO_SFINAE_EXPR should be defined when the compiler doesn't support
> it.

Is this for lack of support of extended SFINAE in C++0x ? If so, why is
listed in the Boost Macro Reference in the Config documentation as a
macro which indicates a defect from the current C++ standard ?


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