workarounds for IRIX CC

[SVN r15775]
This commit is contained in:
Dave Abrahams committed 2002-10-07 16:17:10 +00:00
1 parent d8f609deb6
commit ed93d8cf02
2 files changed
+17 -14

No files matched your search

+4 -2
View File
@@ -106,7 +106,8 @@ template<> struct arg<i>
{
typedef BOOST_PP_CAT(U,i) type;
#if !defined(__BORLANDC__) || (__BORLANDC__ > 0x561 && defined(BOOST_STRICT_CONFIG))
BOOST_STATIC_ASSERT(!is_void_<type>::value);
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
BOOST_STATIC_ASSERT(nv);
#endif
};
};
@@ -127,7 +128,8 @@ template<> struct arg<-1>
{
typedef U1 type;
#if !defined(__BORLANDC__) || (__BORLANDC__ > 0x561 && defined(BOOST_STRICT_CONFIG))
BOOST_STATIC_ASSERT(!is_void_<type>::value);
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
BOOST_STATIC_ASSERT(nv);
#endif
};
};