VisualAge C++ fix

[SVN r15385]
This commit is contained in:
Aleksey Gurtovoy
2002-09-16 19:55:13 +00:00
parent 01d61922bc
commit 1a66c6d1b6

View File

@@ -31,12 +31,12 @@ struct integral_c
// have to #ifdef here: some compilers don't like the 'N + 1' form (MSVC),
// while some other don't like 'value + 1' (Borland)
#if !defined(__BORLANDC__)
typedef integral_c<T, value + 1> next;
typedef integral_c<T, value - 1> prior;
#else
#if defined(__BORLANDC__) || defined(__IBMCPP__)
typedef integral_c<T, N + 1> next;
typedef integral_c<T, N - 1> prior;
#else
typedef integral_c<T, value + 1> next;
typedef integral_c<T, value - 1> prior;
#endif
// enables uniform function call syntax for families of overloaded