Borland fixup

[SVN r17143]
This commit is contained in:
Dave Abrahams
2003-02-01 01:04:21 +00:00
parent 82f1cf3786
commit 76393382c8

View File

@@ -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