mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-05 15:54:39 +02:00
workarounds for IRIX CC
[SVN r15776]
This commit is contained in:
@@ -106,6 +106,7 @@ template<> struct arg<i>
|
|||||||
{
|
{
|
||||||
typedef BOOST_PP_CAT(U,i) type;
|
typedef BOOST_PP_CAT(U,i) type;
|
||||||
#if !defined(__BORLANDC__) || (__BORLANDC__ > 0x561 && defined(BOOST_STRICT_CONFIG))
|
#if !defined(__BORLANDC__) || (__BORLANDC__ > 0x561 && defined(BOOST_STRICT_CONFIG))
|
||||||
|
private:
|
||||||
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
||||||
BOOST_STATIC_ASSERT(nv);
|
BOOST_STATIC_ASSERT(nv);
|
||||||
#endif
|
#endif
|
||||||
@@ -128,6 +129,7 @@ template<> struct arg<-1>
|
|||||||
{
|
{
|
||||||
typedef U1 type;
|
typedef U1 type;
|
||||||
#if !defined(__BORLANDC__) || (__BORLANDC__ > 0x561 && defined(BOOST_STRICT_CONFIG))
|
#if !defined(__BORLANDC__) || (__BORLANDC__ > 0x561 && defined(BOOST_STRICT_CONFIG))
|
||||||
|
private:
|
||||||
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
||||||
BOOST_STATIC_ASSERT(nv);
|
BOOST_STATIC_ASSERT(nv);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -33,6 +33,7 @@ template<> struct arg<1>
|
|||||||
struct apply
|
struct apply
|
||||||
{
|
{
|
||||||
typedef U1 type;
|
typedef U1 type;
|
||||||
|
private:
|
||||||
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
||||||
BOOST_STATIC_ASSERT(nv);
|
BOOST_STATIC_ASSERT(nv);
|
||||||
};
|
};
|
||||||
@@ -50,6 +51,7 @@ template<> struct arg<2>
|
|||||||
struct apply
|
struct apply
|
||||||
{
|
{
|
||||||
typedef U2 type;
|
typedef U2 type;
|
||||||
|
private:
|
||||||
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
||||||
BOOST_STATIC_ASSERT(nv);
|
BOOST_STATIC_ASSERT(nv);
|
||||||
};
|
};
|
||||||
@@ -67,6 +69,7 @@ template<> struct arg<3>
|
|||||||
struct apply
|
struct apply
|
||||||
{
|
{
|
||||||
typedef U3 type;
|
typedef U3 type;
|
||||||
|
private:
|
||||||
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
||||||
BOOST_STATIC_ASSERT(nv);
|
BOOST_STATIC_ASSERT(nv);
|
||||||
};
|
};
|
||||||
@@ -84,6 +87,7 @@ template<> struct arg<4>
|
|||||||
struct apply
|
struct apply
|
||||||
{
|
{
|
||||||
typedef U4 type;
|
typedef U4 type;
|
||||||
|
private:
|
||||||
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
||||||
BOOST_STATIC_ASSERT(nv);
|
BOOST_STATIC_ASSERT(nv);
|
||||||
};
|
};
|
||||||
@@ -101,6 +105,7 @@ template<> struct arg<5>
|
|||||||
struct apply
|
struct apply
|
||||||
{
|
{
|
||||||
typedef U5 type;
|
typedef U5 type;
|
||||||
|
private:
|
||||||
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
BOOST_STATIC_CONSTANT(bool, nv = !is_void_<type>::value);
|
||||||
BOOST_STATIC_ASSERT(nv);
|
BOOST_STATIC_ASSERT(nv);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user