Boost logo

Boost :

From: Howard Hinnant (hinnant_at_[hidden])
Date: 2003-12-05 10:15:48


On Dec 5, 2003, at 9:09 AM, David Abrahams wrote:

> Jaakko Jarvi <jajarvi_at_[hidden]> writes:
>
>> enable_if_lazy.cpp is the only one that uses only
>>
>> enable_if_c
>>
>> not
>>
>> enable_if
>>
>> at all.
>>
>> enable_if is defined in terms of enable_if_c (using inheritance)
>> and I guess that can cause CW to fail. Writing enable_if as a separate
>> template might help.
>
> Not AFAICT; I tried that. Also, the use of enable_if in the iterators
> library proves that inheritance doesn't hurt CWPro8. It looks to me
> like on CWPro8, SFINAE is only good for eliminating overloads, and
> the other uses fail.

It appears I was basing my previous statement on an internal compiler
build, and on the existing version 9 for Mac. My apologies, and my
thanks to everyone who helped me look into this issue a little further.

-Howard


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