Boost logo

Boost :

Subject: Re: [boost] Concept Traits Library
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-07-11 04:37:21

Le 10/07/2010 18:13, Edward Diener a écrit :
> On 7/10/2010 10:57 AM, Steven Watanabe wrote:
>> 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.

Note it works in GCC, without the need for the C++0x mode, since 4.4,
though 4.5 seems to solve a few bugs related to it.

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