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)
|
||||
>
|
||||
struct AUX778076_OP_NAME
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, == 1300)
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
#else
|
||||
: if_<
|
||||
#endif
|
||||
is_na<N3>
|
||||
, BOOST_PP_CAT(AUX778076_OP_NAME,2)<N1,N2>
|
||||
, AUX778076_OP_NAME<
|
||||
@@ -213,6 +217,9 @@ struct AUX778076_OP_NAME
|
||||
, BOOST_MPL_PP_EXT_PARAMS(3, BOOST_PP_INC(AUX778076_OP_ARITY), N)
|
||||
>
|
||||
>::type
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, == 1300)
|
||||
>
|
||||
#endif
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
AUX778076_OP_ARITY
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitand_
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitand_2< N1,N2 >
|
||||
, bitand_<
|
||||
@@ -83,6 +85,7 @@ struct bitand_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitor_
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitor_2< N1,N2 >
|
||||
, bitor_<
|
||||
@@ -83,6 +85,7 @@ struct bitor_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitxor_
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitxor_2< N1,N2 >
|
||||
, bitxor_<
|
||||
@@ -83,6 +85,7 @@ struct bitxor_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct divides
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, divides2< N1,N2 >
|
||||
, divides<
|
||||
@@ -82,6 +84,7 @@ struct divides
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct minus
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, minus2< N1,N2 >
|
||||
, minus<
|
||||
@@ -82,6 +84,7 @@ struct minus
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct plus
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, plus2< N1,N2 >
|
||||
, plus<
|
||||
@@ -82,6 +84,7 @@ struct plus
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct times
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, times2< N1,N2 >
|
||||
, times<
|
||||
@@ -82,6 +84,7 @@ struct times
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitand_
|
||||
: if_<
|
||||
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitand_2< N1,N2 >
|
||||
, bitand_<
|
||||
@@ -83,6 +85,9 @@ struct bitand_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
>
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitor_
|
||||
: if_<
|
||||
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitor_2< N1,N2 >
|
||||
, bitor_<
|
||||
@@ -83,6 +85,9 @@ struct bitor_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
>
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitxor_
|
||||
: if_<
|
||||
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitxor_2< N1,N2 >
|
||||
, bitxor_<
|
||||
@@ -83,6 +85,9 @@ struct bitxor_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
>
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct divides
|
||||
: if_<
|
||||
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
|
||||
is_na<N3>
|
||||
, divides2< N1,N2 >
|
||||
, divides<
|
||||
@@ -82,6 +84,9 @@ struct divides
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
>
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct minus
|
||||
: if_<
|
||||
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
|
||||
is_na<N3>
|
||||
, minus2< N1,N2 >
|
||||
, minus<
|
||||
@@ -82,6 +84,9 @@ struct minus
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
>
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct plus
|
||||
: if_<
|
||||
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
|
||||
is_na<N3>
|
||||
, plus2< N1,N2 >
|
||||
, plus<
|
||||
@@ -82,6 +84,9 @@ struct plus
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
>
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct times
|
||||
: if_<
|
||||
|
||||
: aux::msvc_eti_base< typename if_<
|
||||
|
||||
is_na<N3>
|
||||
, times2< N1,N2 >
|
||||
, times<
|
||||
@@ -82,6 +84,9 @@ struct times
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
>
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitand_
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitand_2< N1,N2 >
|
||||
, bitand_<
|
||||
@@ -83,6 +85,7 @@ struct bitand_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitor_
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitor_2< N1,N2 >
|
||||
, bitor_<
|
||||
@@ -83,6 +85,7 @@ struct bitor_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -75,7 +75,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct bitxor_
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, bitxor_2< N1,N2 >
|
||||
, bitxor_<
|
||||
@@ -83,6 +85,7 @@ struct bitxor_
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct divides
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, divides2< N1,N2 >
|
||||
, divides<
|
||||
@@ -82,6 +84,7 @@ struct divides
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct minus
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, minus2< N1,N2 >
|
||||
, minus<
|
||||
@@ -82,6 +84,7 @@ struct minus
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct plus
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, plus2< N1,N2 >
|
||||
, plus<
|
||||
@@ -82,6 +84,7 @@ struct plus
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
@@ -74,7 +74,9 @@ template<
|
||||
, typename N3 = na, typename N4 = na, typename N5 = na
|
||||
>
|
||||
struct times
|
||||
|
||||
: if_<
|
||||
|
||||
is_na<N3>
|
||||
, times2< N1,N2 >
|
||||
, times<
|
||||
@@ -82,6 +84,7 @@ struct times
|
||||
, N3, N4, N5
|
||||
>
|
||||
>::type
|
||||
|
||||
{
|
||||
BOOST_MPL_AUX_LAMBDA_SUPPORT(
|
||||
5
|
||||
|
Reference in New Issue
Block a user