Boost logo

Boost :

Subject: Re: [boost] [config] gcc-4.4 and BOOST_NO_SFINAE_EXPR
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-09-24 11:14:01


On 09/23/2012 03:26 AM, Michel Morin wrote:
> Eric Niebler wrote:
>> As part of our work to make result_of sfinae-friendly, Daniel Walker and
>> I have discovered that gcc-4.4 doesn't have very good support for
>> generalized sfinae for expressions.
>
> Then, wouldn't it be nice to ask gcc developers to change the
> availability of "Solving the SFINAE problem for expressions"
> from gcc 4.4 to gcc 4.5 in http://gcc.gnu.org/projects/cxx0x.html ?

Shouldn't whether this macro is defined or not depend on whether the
associated test fails or succeeds, rather than what the compiler claims
to support?

If the test is not strict enough, it could be modified.


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