Boost logo

Boost :

From: Douglas Paul Gregor (gregod_at_[hidden])
Date: 2003-12-03 14:58:24


On Wed, 3 Dec 2003, Jaakko Jarvi wrote:
> # if(__MWERKS__ <= 0x3000)

I actually have <= 0x2407 in Function, but I'm pretty sure you're right
based on the regression tests.

> # 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 (_MSC_VER <= 1300)

That's BOOST_MSVC, I hope?

> # if (__BORLANDC__ <= 0x551)

<= Should be 0x564

> If someone knows more compilers that this flag should be set for,
> let us know, or hack the compiler config files.

I also have:

#if defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <=
730 && !defined(BOOST_STRICT_CONFIG)
# define BOOST_FUNCTION_NO_ENABLE_IF
#endif

#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x540)
# define BOOST_FUNCTION_NO_ENABLE_IF
#endif

The former should be matched to a particular version of the EDG front end
(2.38, I'm guessing, didn't support SFINAE).

        Doug


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