mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-05 15:54:39 +02:00
some ETI-related fixes
[SVN r17551]
This commit is contained in:
@@ -171,7 +171,7 @@ struct apply0 : F
|
|||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(1, apply0, (F))
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(1, apply0, (F))
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||||
//: workaround for the ETI bug
|
//: workaround for the ETI bug
|
||||||
template<>
|
template<>
|
||||||
struct apply0<int>
|
struct apply0<int>
|
||||||
@@ -259,7 +259,7 @@ struct BOOST_PP_CAT(apply,i)
|
|||||||
|
|
||||||
# endif // workarounds
|
# endif // workarounds
|
||||||
|
|
||||||
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||||
//: workaround for ETI bug
|
//: workaround for ETI bug
|
||||||
template<>
|
template<>
|
||||||
struct BOOST_PP_CAT(apply,i)<AUX_APPLY_N_SPEC_PARAMS(i, int)>
|
struct BOOST_PP_CAT(apply,i)<AUX_APPLY_N_SPEC_PARAMS(i, int)>
|
||||||
|
@@ -36,7 +36,7 @@ struct iterator_category
|
|||||||
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
||||||
template<> struct iterator_category<int>
|
template<> struct iterator_category<int>
|
||||||
{
|
{
|
||||||
typedef iterator_category<int> type;
|
typedef int type;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -36,7 +36,7 @@ struct next
|
|||||||
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||||
template<> struct next<int>
|
template<> struct next<int>
|
||||||
{
|
{
|
||||||
typedef next<int> type;
|
typedef int type;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -36,7 +36,7 @@ struct prior
|
|||||||
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||||
template<> struct prior<int>
|
template<> struct prior<int>
|
||||||
{
|
{
|
||||||
typedef prior<int> type;
|
typedef int type;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -36,7 +36,7 @@ struct select1st
|
|||||||
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
||||||
template<> struct select1st<int>
|
template<> struct select1st<int>
|
||||||
{
|
{
|
||||||
typedef select1st<int> type;
|
typedef int type;
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user