mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
Borland fixup
[SVN r17143]
This commit is contained in:
@@ -51,8 +51,12 @@ struct integral_c
|
||||
typedef integral_c<T, next_value> next;
|
||||
typedef integral_c<T, prior_value> prior;
|
||||
#elif BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x561)) \
|
||||
|| BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(502)) \
|
||||
|| BOOST_WORKAROUND(__HP_aCC, BOOST_TESTED_AT(53800))
|
||||
// Borland can't handle the casts, and HP doesn't need them
|
||||
// because the 2nd template parameter is not T but long
|
||||
typedef integral_c<T, N + 1> next;
|
||||
typedef integral_c<T, N - 1> prior;
|
||||
#elif BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(502))
|
||||
typedef integral_c<T, static_cast<T>(N + 1)> next;
|
||||
typedef integral_c<T, static_cast<T>(N - 1)> prior;
|
||||
#else
|
||||
|
Reference in New Issue
Block a user