Boost logo

Boost :

Subject: Re: [boost] Concept Traits Library
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-07-12 16:36:21

Le 12/07/2010 17:34, Edward Diener a écrit :
> 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 ?

It's not C++0x-specific.

Albeit C++0x explicitly mandates this feature, it was a fairly fuzzy
area in C++03, and wasn't implemented mainly due to name mangling problems.

Boost list run by bdawes at, gregod at, cpdaniel at, john at