mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 06:44:37 +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))
|
||||
};
|
||||
|
||||
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
||||
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||
//: workaround for the ETI bug
|
||||
template<>
|
||||
struct apply0<int>
|
||||
@@ -259,7 +259,7 @@ struct BOOST_PP_CAT(apply,i)
|
||||
|
||||
# endif // workarounds
|
||||
|
||||
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
||||
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||
//: workaround for ETI bug
|
||||
template<>
|
||||
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)
|
||||
template<> struct iterator_category<int>
|
||||
{
|
||||
typedef iterator_category<int> type;
|
||||
typedef int type;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@@ -36,7 +36,7 @@ struct next
|
||||
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||
template<> struct next<int>
|
||||
{
|
||||
typedef next<int> type;
|
||||
typedef int type;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@@ -36,7 +36,7 @@ struct prior
|
||||
#if defined(BOOST_MPL_MSVC_70_ETI_BUG)
|
||||
template<> struct prior<int>
|
||||
{
|
||||
typedef prior<int> type;
|
||||
typedef int type;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@@ -36,7 +36,7 @@ struct select1st
|
||||
#if defined(BOOST_MPL_MSVC_ETI_BUG)
|
||||
template<> struct select1st<int>
|
||||
{
|
||||
typedef select1st<int> type;
|
||||
typedef int type;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user