BOOST_TESTED_AT used in numeric_cast

old_numeric_cast takes the exception class from converter_policies


[SVN r29789]
This commit is contained in:
Fernando Cacciola
2005-06-24 19:09:13 +00:00
parent de299f5f3e
commit e4fb6bf5e5

View File

@@ -21,11 +21,13 @@
// resolves conflicts with 'boost::numeric_cast' function template. // resolves conflicts with 'boost::numeric_cast' function template.
// use it in your own code _only_ if you care about compatibility with // use it in your own code _only_ if you care about compatibility with
// these outdated compilers! // these outdated compilers!
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) || BOOST_WORKAROUND(__BORLANDC__, <= 0x570) #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570) )
# define BOOST_MPL_AUX_NUMERIC_CAST numeric_cast_ # define BOOST_MPL_AUX_NUMERIC_CAST numeric_cast_
#else #else
# define BOOST_MPL_AUX_NUMERIC_CAST numeric_cast # define BOOST_MPL_AUX_NUMERIC_CAST numeric_cast
#endif #endif
test
test
namespace boost { namespace mpl { namespace boost { namespace mpl {