Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-09-18 16:38:44

"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'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?

Dave Abrahams
Boost Consulting

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