mirror of
https://github.com/boostorg/mpl.git
synced 2025-09-30 09:41:01 +02:00
BOOST_TESTED_AT used in numeric_cast
old_numeric_cast takes the exception class from converter_policies [SVN r29789]
This commit is contained in:
@@ -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 {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user