mirror of
https://github.com/boostorg/mpl.git
synced 2025-10-03 19:21:00 +02:00
MSVC 7.0 ETI fix
[SVN r26559]
This commit is contained in:
@@ -205,7 +205,11 @@ template<
|
|||||||
BOOST_MPL_PP_DEF_PARAMS_TAIL(2, typename N, na)
|
BOOST_MPL_PP_DEF_PARAMS_TAIL(2, typename N, na)
|
||||||
>
|
>
|
||||||
struct AUX778076_OP_NAME
|
struct AUX778076_OP_NAME
|
||||||
|
#if BOOST_WORKAROUND(BOOST_MSVC, == 1300)
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
#else
|
||||||
: if_<
|
: if_<
|
||||||
|
#endif
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, BOOST_PP_CAT(AUX778076_OP_NAME,2)<N1,N2>
|
, BOOST_PP_CAT(AUX778076_OP_NAME,2)<N1,N2>
|
||||||
, AUX778076_OP_NAME<
|
, AUX778076_OP_NAME<
|
||||||
@@ -213,6 +217,9 @@ struct AUX778076_OP_NAME
|
|||||||
, BOOST_MPL_PP_EXT_PARAMS(3, BOOST_PP_INC(AUX778076_OP_ARITY), N)
|
, BOOST_MPL_PP_EXT_PARAMS(3, BOOST_PP_INC(AUX778076_OP_ARITY), N)
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
#if BOOST_WORKAROUND(BOOST_MSVC, == 1300)
|
||||||
|
>
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
AUX778076_OP_ARITY
|
AUX778076_OP_ARITY
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitand_
|
struct bitand_
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitand_2< N1,N2 >
|
, bitand_2< N1,N2 >
|
||||||
, bitand_<
|
, bitand_<
|
||||||
@@ -83,6 +85,7 @@ struct bitand_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitor_
|
struct bitor_
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitor_2< N1,N2 >
|
, bitor_2< N1,N2 >
|
||||||
, bitor_<
|
, bitor_<
|
||||||
@@ -83,6 +85,7 @@ struct bitor_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitxor_
|
struct bitxor_
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitxor_2< N1,N2 >
|
, bitxor_2< N1,N2 >
|
||||||
, bitxor_<
|
, bitxor_<
|
||||||
@@ -83,6 +85,7 @@ struct bitxor_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct divides
|
struct divides
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, divides2< N1,N2 >
|
, divides2< N1,N2 >
|
||||||
, divides<
|
, divides<
|
||||||
@@ -82,6 +84,7 @@ struct divides
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct minus
|
struct minus
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, minus2< N1,N2 >
|
, minus2< N1,N2 >
|
||||||
, minus<
|
, minus<
|
||||||
@@ -82,6 +84,7 @@ struct minus
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct plus
|
struct plus
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, plus2< N1,N2 >
|
, plus2< N1,N2 >
|
||||||
, plus<
|
, plus<
|
||||||
@@ -82,6 +84,7 @@ struct plus
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct times
|
struct times
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, times2< N1,N2 >
|
, times2< N1,N2 >
|
||||||
, times<
|
, times<
|
||||||
@@ -82,6 +84,7 @@ struct times
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitand_
|
struct bitand_
|
||||||
: if_<
|
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitand_2< N1,N2 >
|
, bitand_2< N1,N2 >
|
||||||
, bitand_<
|
, bitand_<
|
||||||
@@ -83,6 +85,9 @@ struct bitand_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitor_
|
struct bitor_
|
||||||
: if_<
|
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitor_2< N1,N2 >
|
, bitor_2< N1,N2 >
|
||||||
, bitor_<
|
, bitor_<
|
||||||
@@ -83,6 +85,9 @@ struct bitor_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitxor_
|
struct bitxor_
|
||||||
: if_<
|
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitxor_2< N1,N2 >
|
, bitxor_2< N1,N2 >
|
||||||
, bitxor_<
|
, bitxor_<
|
||||||
@@ -83,6 +85,9 @@ struct bitxor_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct divides
|
struct divides
|
||||||
: if_<
|
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, divides2< N1,N2 >
|
, divides2< N1,N2 >
|
||||||
, divides<
|
, divides<
|
||||||
@@ -82,6 +84,9 @@ struct divides
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct minus
|
struct minus
|
||||||
: if_<
|
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, minus2< N1,N2 >
|
, minus2< N1,N2 >
|
||||||
, minus<
|
, minus<
|
||||||
@@ -82,6 +84,9 @@ struct minus
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct plus
|
struct plus
|
||||||
: if_<
|
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, plus2< N1,N2 >
|
, plus2< N1,N2 >
|
||||||
, plus<
|
, plus<
|
||||||
@@ -82,6 +84,9 @@ struct plus
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct times
|
struct times
|
||||||
: if_<
|
|
||||||
|
: aux::msvc_eti_base< typename if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, times2< N1,N2 >
|
, times2< N1,N2 >
|
||||||
, times<
|
, times<
|
||||||
@@ -82,6 +84,9 @@ struct times
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitand_
|
struct bitand_
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitand_2< N1,N2 >
|
, bitand_2< N1,N2 >
|
||||||
, bitand_<
|
, bitand_<
|
||||||
@@ -83,6 +85,7 @@ struct bitand_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitor_
|
struct bitor_
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitor_2< N1,N2 >
|
, bitor_2< N1,N2 >
|
||||||
, bitor_<
|
, bitor_<
|
||||||
@@ -83,6 +85,7 @@ struct bitor_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -75,7 +75,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct bitxor_
|
struct bitxor_
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, bitxor_2< N1,N2 >
|
, bitxor_2< N1,N2 >
|
||||||
, bitxor_<
|
, bitxor_<
|
||||||
@@ -83,6 +85,7 @@ struct bitxor_
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct divides
|
struct divides
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, divides2< N1,N2 >
|
, divides2< N1,N2 >
|
||||||
, divides<
|
, divides<
|
||||||
@@ -82,6 +84,7 @@ struct divides
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct minus
|
struct minus
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, minus2< N1,N2 >
|
, minus2< N1,N2 >
|
||||||
, minus<
|
, minus<
|
||||||
@@ -82,6 +84,7 @@ struct minus
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct plus
|
struct plus
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, plus2< N1,N2 >
|
, plus2< N1,N2 >
|
||||||
, plus<
|
, plus<
|
||||||
@@ -82,6 +84,7 @@ struct plus
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
@@ -74,7 +74,9 @@ template<
|
|||||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||||
>
|
>
|
||||||
struct times
|
struct times
|
||||||
|
|
||||||
: if_<
|
: if_<
|
||||||
|
|
||||||
is_na<N3>
|
is_na<N3>
|
||||||
, times2< N1,N2 >
|
, times2< N1,N2 >
|
||||||
, times<
|
, times<
|
||||||
@@ -82,6 +84,7 @@ struct times
|
|||||||
, N3, N4, N5
|
, N3, N4, N5
|
||||||
>
|
>
|
||||||
>::type
|
>::type
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||||
5
|
5
|
||||||
|
Reference in New Issue
Block a user