Boost logo

Boost :

From: Eric Friedman (ebf_at_[hidden])
Date: 2003-09-18 19:05:28


David Abrahams wrote:

> "Eric Friedman" <ebf_at_[hidden]> writes:
>
>
>>Has there been any progress on providing a common enable_if facility for
>>Boost? To workaround separete bugs in CodeWarrior and EDG compilers, I've
>>introduced for Variant yet another implementation of enable_if.
>
>
> boost/iterator/detail/enable_if.hpp works on both those compilers.
> IIRC there was a problem on CW 8.0, but CW 8.1-8.3 have no trouble.
> Did you fix CW 8.0?

I don't know, sorry. I don't have access to 8.0.

Anyhow, I want enable_if available only on platforms that support it...

>>I'd be willing to write an boost/enable_if.hpp header with the requisite
>>macros (enable_if(_c), disable_if(_c), etc.). I'd thought this was already
>>happening though.
>>
>>Thanks,
>>Eric
>>
>>P.S. Perhaps even more important is the need for a BOOST_NO_SFINAE defect
>>macro. Is the attached test suitable?
>
>
> Did you see boost/iterator/detail/config_def.hpp?

Yes, in fact I actually used your config information. But IMO this should be
a temporary solution, and I think we should add a config library test.

- Eric


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