Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-12-03 17:40:11


Douglas Paul Gregor wrote:
> On Thu, 4 Dec 2003, Peter Dimov wrote:
>> David Abrahams wrote:
>>> Jaakko Jarvi <jajarvi_at_[hidden]> writes:
>>>
>>>>
>>>>>> # if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
>>>>>
>>>>> The regression tests seem to disagree that 2.95.3 can handle
>>>>> enable_if, and in Function I'm using:
>>>>>
>>>>> #if BOOST_WORKAROUND(__GNUC__, < 3)
>>>>
>>>>>> # if __GNUC__ == 2 && __GNUC_MINOR__ <= 95
>>>>
>>>> This should flag 2.95.3 as BOOST_NO_SFINAE ???
>>>
>>> I think these tests are equivalent.
>>
>> <= 2.95 means "we know it fails with 2.95; we assume that it doesn't
>> fail with later versions."
>>
>> < 3 means "we know that the first version to support it is 3".
>
> Heh, so what happens on GCC 2.96? <ducks>

That's kind of my point. ;-)


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