
Tobias Schwinger <tschwinger@neoscientists.org> writes:
How about these?
#define BOOST_COMPILER_WITH_VERSION(compiler,version) \ (compiler == version)
#define BOOST_COMPILER_ABOVE_VERSION(compiler,version) \ (compiler > version)
#define BOOST_COMPILER_FROM_VERSION(compiler,version) \ (compiler >= version)
#define BOOST_COMPILER_BELOW_VERSION(compiler,version) \ ((compiler != 0) && (compiler < version))
#define BOOST_COMPILER_UP_TO_VERSION(compiler,vesionr) \ ((compiler != 0) && (compiler <= version))
#define BOOST_COMPILER_FROM_TO_VERSION(compiler,min_version,max_version) \ ((compiler != 0) && ((compiler >= min_version) && (compiler <= max_version)))
No. That's what BOOST_WORKAROUND does, and BOOST_WORKAROUND does it better. Please read http://www.boost-consulting.com/boost/boost/detail/workaround.hpp -- Dave Abrahams Boost Consulting www.boost-consulting.com