more MIPSpro fixes

[SVN r24947]
This commit is contained in:
Aleksey Gurtovoy
2004-09-07 08:53:22 +00:00
parent 5759dd3db6
commit 8373f7b2a6
218 changed files with 1278 additions and 1144 deletions

View File

@@ -19,8 +19,6 @@
// $Date$ // $Date$
// $Revision$ // $Revision$
#include <boost/mpl/aux_/config/static_constant.hpp>
#if !defined(BOOST_MPL_PREPROCESSING_MODE) #if !defined(BOOST_MPL_PREPROCESSING_MODE)
# include <boost/mpl/arg_fwd.hpp> # include <boost/mpl/arg_fwd.hpp>
# include <boost/mpl/assert.hpp> # include <boost/mpl/assert.hpp>
@@ -29,6 +27,7 @@
# include <boost/mpl/aux_/arg_typedef.hpp> # include <boost/mpl/aux_/arg_typedef.hpp>
#endif #endif
#include <boost/mpl/aux_/config/static_constant.hpp>
#include <boost/mpl/aux_/config/use_preprocessed.hpp> #include <boost/mpl/aux_/config/use_preprocessed.hpp>
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \

View File

@@ -24,6 +24,7 @@
#endif #endif
#include <boost/mpl/aux_/numeric_op.hpp> #include <boost/mpl/aux_/numeric_op.hpp>
#include <boost/mpl/aux_/config/static_constant.hpp>
#include <boost/mpl/aux_/config/use_preprocessed.hpp> #include <boost/mpl/aux_/config/use_preprocessed.hpp>
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
@@ -40,12 +41,12 @@
namespace boost { namespace mpl { namespace boost { namespace mpl {
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) #if defined(BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC)
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct BOOST_PP_CAT(BOOST_PP_CAT(msvc_,AUX778076_OP_PREFIX),_impl) struct BOOST_PP_CAT(AUX778076_OP_PREFIX,_wknd)
{ {
enum msvc_wknd { value = (n1 AUX778076_OP_TOKEN n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 AUX778076_OP_TOKEN n2));
typedef integral_c<T,value> type; typedef integral_c<T,value> type;
}; };
} }
@@ -55,18 +56,18 @@ template<>
struct AUX778076_OP_IMPL_NAME<integral_c_tag,integral_c_tag> struct AUX778076_OP_IMPL_NAME<integral_c_tag,integral_c_tag>
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300) #if !defined(BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC)
: integral_c< : integral_c<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
AUX778076_OP_TOKEN BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) AUX778076_OP_TOKEN BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
#else #else
: aux::BOOST_PP_CAT(BOOST_PP_CAT(msvc_,AUX778076_OP_PREFIX),_impl)< : aux::BOOST_PP_CAT(AUX778076_OP_PREFIX,_wknd)<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -18,7 +18,7 @@
#include <boost/mpl/aux_/preprocessor/params.hpp> #include <boost/mpl/aux_/preprocessor/params.hpp>
#include <boost/mpl/aux_/arity.hpp> #include <boost/mpl/aux_/arity.hpp>
#include <boost/mpl/limits/arity.hpp> #include <boost/mpl/limits/arity.hpp>
#include <boost/config.hpp> #include <boost/mpl/aux_/config/static_constant.hpp>
#if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) #if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES)
# define BOOST_MPL_AUX_NONTYPE_ARITY_SPEC(i,type,name) \ # define BOOST_MPL_AUX_NONTYPE_ARITY_SPEC(i,type,name) \

View File

@@ -25,6 +25,7 @@
#define AUX778076_OP_ARITY 2 #define AUX778076_OP_ARITY 2
#include <boost/mpl/aux_/numeric_op.hpp> #include <boost/mpl/aux_/numeric_op.hpp>
#include <boost/mpl/aux_/config/static_constant.hpp>
#include <boost/mpl/aux_/config/use_preprocessed.hpp> #include <boost/mpl/aux_/config/use_preprocessed.hpp>
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ #if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
@@ -35,7 +36,7 @@
#else #else
# include <boost/mpl/aux_/config/workaround.hpp> # include <boost/mpl/aux_/config/integral.hpp>
# include <boost/preprocessor/cat.hpp> # include <boost/preprocessor/cat.hpp>
namespace boost { namespace mpl { namespace boost { namespace mpl {
@@ -43,14 +44,12 @@ namespace boost { namespace mpl {
// MSVC workaround: implement less in terms of greater // MSVC workaround: implement less in terms of greater
#if 0 AUX778076_OP_TOKEN 1 && !(1 AUX778076_OP_TOKEN 0) && !(0 AUX778076_OP_TOKEN 0) #if 0 AUX778076_OP_TOKEN 1 && !(1 AUX778076_OP_TOKEN 0) && !(0 AUX778076_OP_TOKEN 0)
# define AUX778076_OP(N1, N2) \ # define AUX778076_OP(N1, N2) \
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) \ ( BOOST_MPL_AUX_VALUE_WKND(N2)::value > BOOST_MPL_AUX_VALUE_WKND(N1)::value ) \
> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) \
) \
/**/ /**/
#else #else
# define AUX778076_OP(N1, N2) \ # define AUX778076_OP(N1, N2) \
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) \ ( BOOST_MPL_AUX_VALUE_WKND(N1)::value \
AUX778076_OP_TOKEN BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) \ AUX778076_OP_TOKEN BOOST_MPL_AUX_VALUE_WKND(N2)::value \
) \ ) \
/**/ /**/
#endif #endif
@@ -59,7 +58,7 @@ template<>
struct AUX778076_OP_IMPL_NAME<integral_c_tag,integral_c_tag> struct AUX778076_OP_IMPL_NAME<integral_c_tag,integral_c_tag>
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300) #if !defined(BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC)
: bool_< AUX778076_OP(N1, N2) > : bool_< AUX778076_OP(N1, N2) >
{ {
#else #else

View File

@@ -1,6 +1,6 @@
#ifndef BOOST_MPL_AUX_CONFIG_BCC_INTEGRAL_CONSTANTS_HPP_INCLUDED #ifndef BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED
#define BOOST_MPL_AUX_CONFIG_BCC_INTEGRAL_CONSTANTS_HPP_INCLUDED #define BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2004 // Copyright Aleksey Gurtovoy 2004
// //
@@ -14,6 +14,7 @@
// $Date$ // $Date$
// $Revision$ // $Revision$
#include <boost/mpl/aux_/config/msvc.hpp>
#include <boost/mpl/aux_/config/workaround.hpp> #include <boost/mpl/aux_/config/workaround.hpp>
#if !defined(BOOST_MPL_CFG_BCC_INTEGRAL_CONSTANTS) \ #if !defined(BOOST_MPL_CFG_BCC_INTEGRAL_CONSTANTS) \
@@ -24,4 +25,14 @@
#endif #endif
#endif // BOOST_MPL_AUX_CONFIG_BCC_INTEGRAL_CONSTANTS_HPP_INCLUDED #if !defined(BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC) \
&& !defined(BOOST_MPL_PREPROCESSING_MODE) \
&& ( BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \
|| BOOST_WORKAROUND(__EDG_VERSION__, <= 238) \
)
# define BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC
#endif
#endif // BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED

View File

@@ -17,6 +17,9 @@
#if !defined(BOOST_MPL_PREPROCESSING_MODE) #if !defined(BOOST_MPL_PREPROCESSING_MODE)
// BOOST_STATIC_CONSTANT is defined here: // BOOST_STATIC_CONSTANT is defined here:
# include <boost/config.hpp> # include <boost/config.hpp>
#else
// undef the macro for the preprocessing mode
# undef BOOST_STATIC_CONSTANT
#endif #endif
#endif // BOOST_MPL_AUX_CONFIG_STATIC_CONSTANT_HPP_INCLUDED #endif // BOOST_MPL_AUX_CONFIG_STATIC_CONSTANT_HPP_INCLUDED

View File

@@ -29,9 +29,10 @@
# include <boost/mpl/aux_/value_wknd.hpp> # include <boost/mpl/aux_/value_wknd.hpp>
# include <boost/mpl/aux_/config/eti.hpp> # include <boost/mpl/aux_/config/eti.hpp>
# include <boost/mpl/aux_/nttp_decl.hpp> # include <boost/mpl/aux_/nttp_decl.hpp>
# include <boost/mpl/aux_/config/static_constant.hpp>
#endif #endif
#include <boost/mpl/aux_/config/static_constant.hpp>
#if defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ #if defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
|| defined(BOOST_MPL_PREPROCESSING_MODE) || defined(BOOST_MPL_PREPROCESSING_MODE)

View File

@@ -13,7 +13,7 @@
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
template<> struct arg< -1 > template<> struct arg< -1 >
{ {
static int const value = -1; BOOST_STATIC_CONSTANT(int, value = -1);
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -29,7 +29,7 @@ template<> struct arg< -1 >
template<> struct arg<1> template<> struct arg<1>
{ {
static int const value = 1; BOOST_STATIC_CONSTANT(int, value = 1);
typedef arg<2> next; typedef arg<2> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -46,7 +46,7 @@ template<> struct arg<1>
template<> struct arg<2> template<> struct arg<2>
{ {
static int const value = 2; BOOST_STATIC_CONSTANT(int, value = 2);
typedef arg<3> next; typedef arg<3> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -63,7 +63,7 @@ template<> struct arg<2>
template<> struct arg<3> template<> struct arg<3>
{ {
static int const value = 3; BOOST_STATIC_CONSTANT(int, value = 3);
typedef arg<4> next; typedef arg<4> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -80,7 +80,7 @@ template<> struct arg<3>
template<> struct arg<4> template<> struct arg<4>
{ {
static int const value = 4; BOOST_STATIC_CONSTANT(int, value = 4);
typedef arg<5> next; typedef arg<5> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -97,7 +97,7 @@ template<> struct arg<4>
template<> struct arg<5> template<> struct arg<5>
{ {
static int const value = 5; BOOST_STATIC_CONSTANT(int, value = 5);
typedef arg<6> next; typedef arg<6> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)

View File

@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitand_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitand_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitand_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) & BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) | BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitxor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitxor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitxor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct divides_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct divides_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct divides_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) / BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) == BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value == BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value > BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) >= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value >= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N2)::value > BOOST_MPL_AUX_VALUE_WKND(N1)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) <= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value <= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct minus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct minus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct minus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) - BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct modulus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct modulus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -89,8 +89,8 @@ struct modulus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) % BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct not_equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct not_equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct not_equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) != BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value != BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct plus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct plus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct plus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) + BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_left_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_left_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_left_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) << BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_right_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_right_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_right_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) >> BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct times_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct times_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct times_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) * BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -13,7 +13,7 @@
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
template<> struct arg< -1 > template<> struct arg< -1 >
{ {
static int const value = -1; BOOST_STATIC_CONSTANT(int, value = -1);
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
template<> struct arg<1> template<> struct arg<1>
{ {
static int const value = 1; BOOST_STATIC_CONSTANT(int, value = 1);
typedef arg<2> next; typedef arg<2> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -48,7 +48,7 @@ template<> struct arg<1>
template<> struct arg<2> template<> struct arg<2>
{ {
static int const value = 2; BOOST_STATIC_CONSTANT(int, value = 2);
typedef arg<3> next; typedef arg<3> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -66,7 +66,7 @@ template<> struct arg<2>
template<> struct arg<3> template<> struct arg<3>
{ {
static int const value = 3; BOOST_STATIC_CONSTANT(int, value = 3);
typedef arg<4> next; typedef arg<4> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -84,7 +84,7 @@ template<> struct arg<3>
template<> struct arg<4> template<> struct arg<4>
{ {
static int const value = 4; BOOST_STATIC_CONSTANT(int, value = 4);
typedef arg<5> next; typedef arg<5> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -102,7 +102,7 @@ template<> struct arg<4>
template<> struct arg<5> template<> struct arg<5>
{ {
static int const value = 5; BOOST_STATIC_CONSTANT(int, value = 5);
typedef arg<6> next; typedef arg<6> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)

View File

@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitand_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitand_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitand_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) & BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) | BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitxor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitxor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitxor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct divides_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct divides_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct divides_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) / BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) == BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value == BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value > BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) >= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value >= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N2)::value > BOOST_MPL_AUX_VALUE_WKND(N1)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) <= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value <= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct minus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct minus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct minus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) - BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct modulus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct modulus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -89,8 +89,8 @@ struct modulus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) % BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct not_equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct not_equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct not_equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) != BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value != BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct plus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct plus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct plus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) + BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_left_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_left_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_left_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) << BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_right_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_right_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_right_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) >> BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct times_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct times_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct times_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) * BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -13,7 +13,7 @@
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
template<> struct arg< -1 > template<> struct arg< -1 >
{ {
static int const value = -1; BOOST_STATIC_CONSTANT(int, value = -1);
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
template<> struct arg<1> template<> struct arg<1>
{ {
static int const value = 1; BOOST_STATIC_CONSTANT(int, value = 1);
typedef arg<2> next; typedef arg<2> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -48,7 +48,7 @@ template<> struct arg<1>
template<> struct arg<2> template<> struct arg<2>
{ {
static int const value = 2; BOOST_STATIC_CONSTANT(int, value = 2);
typedef arg<3> next; typedef arg<3> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -66,7 +66,7 @@ template<> struct arg<2>
template<> struct arg<3> template<> struct arg<3>
{ {
static int const value = 3; BOOST_STATIC_CONSTANT(int, value = 3);
typedef arg<4> next; typedef arg<4> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -84,7 +84,7 @@ template<> struct arg<3>
template<> struct arg<4> template<> struct arg<4>
{ {
static int const value = 4; BOOST_STATIC_CONSTANT(int, value = 4);
typedef arg<5> next; typedef arg<5> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -102,7 +102,7 @@ template<> struct arg<4>
template<> struct arg<5> template<> struct arg<5>
{ {
static int const value = 5; BOOST_STATIC_CONSTANT(int, value = 5);
typedef arg<6> next; typedef arg<6> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)

View File

@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitand_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitand_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitand_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) & BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) | BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitxor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitxor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitxor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct divides_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct divides_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct divides_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) / BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) == BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value == BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value > BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) >= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value >= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N2)::value > BOOST_MPL_AUX_VALUE_WKND(N1)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) <= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value <= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct minus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct minus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct minus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) - BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct modulus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct modulus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -89,8 +89,8 @@ struct modulus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) % BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct not_equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct not_equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct not_equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) != BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value != BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct plus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct plus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct plus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) + BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_left_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_left_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_left_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) << BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_right_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_right_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_right_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) >> BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct times_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct times_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct times_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) * BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -13,7 +13,7 @@
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
template<> struct arg< -1 > template<> struct arg< -1 >
{ {
static int const value = -1; BOOST_STATIC_CONSTANT(int, value = -1);
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
template<> struct arg<1> template<> struct arg<1>
{ {
static int const value = 1; BOOST_STATIC_CONSTANT(int, value = 1);
typedef arg<2> next; typedef arg<2> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -48,7 +48,7 @@ template<> struct arg<1>
template<> struct arg<2> template<> struct arg<2>
{ {
static int const value = 2; BOOST_STATIC_CONSTANT(int, value = 2);
typedef arg<3> next; typedef arg<3> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -66,7 +66,7 @@ template<> struct arg<2>
template<> struct arg<3> template<> struct arg<3>
{ {
static int const value = 3; BOOST_STATIC_CONSTANT(int, value = 3);
typedef arg<4> next; typedef arg<4> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -84,7 +84,7 @@ template<> struct arg<3>
template<> struct arg<4> template<> struct arg<4>
{ {
static int const value = 4; BOOST_STATIC_CONSTANT(int, value = 4);
typedef arg<5> next; typedef arg<5> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -102,7 +102,7 @@ template<> struct arg<4>
template<> struct arg<5> template<> struct arg<5>
{ {
static int const value = 5; BOOST_STATIC_CONSTANT(int, value = 5);
typedef arg<6> next; typedef arg<6> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)

View File

@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitand_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitand_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitand_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) & BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) | BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct bitxor_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct bitxor_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -136,8 +136,8 @@ struct bitxor_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct divides_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct divides_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct divides_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) / BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) == BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value == BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value > BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct greater_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct greater_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct greater_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) >= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value >= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) > BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N2)::value > BOOST_MPL_AUX_VALUE_WKND(N1)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct less_equal_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct less_equal_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct less_equal_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) <= BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value <= BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct minus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct minus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct minus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) - BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct modulus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct modulus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -89,8 +89,8 @@ struct modulus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) % BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct not_equal_to_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct not_equal_to_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -85,7 +85,7 @@ struct not_equal_to_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: bool_< ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) != BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) > : bool_< ( BOOST_MPL_AUX_VALUE_WKND(N1)::value != BOOST_MPL_AUX_VALUE_WKND(N2)::value ) >
{ {
}; };
}; };

View File

@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct plus_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct plus_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct plus_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) + BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_left_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_left_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_left_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) << BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template< typename Tag > struct shift_right_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template< typename Tag > struct shift_right_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,8 +87,8 @@ struct shift_right_impl< integral_c_tag,integral_c_tag >
: integral_c< : integral_c<
typename N::value_type typename N::value_type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N) , ( BOOST_MPL_AUX_VALUE_WKND(N)::value
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S) >> BOOST_MPL_AUX_VALUE_WKND(S)::value
) )
> >
{ {

View File

@@ -21,11 +21,10 @@ template<
> >
struct max_arity struct max_arity
{ {
static int const value = BOOST_STATIC_CONSTANT(int, value =
( C6 > 0 ? C6 : ( C5 > 0 ? C5 : ( C4 > 0 ? C4 : ( C3 > 0 ? C3 : ( C2 ( C6 > 0 ? C6 : ( C5 > 0 ? C5 : ( C4 > 0 ? C4 : ( C3 > 0 ? C3 : ( C2 > 0 ? C2 : ( C1 > 0 ? C1 : -1 ) ) ) ) ) )
> 0 ? C2 : ( C1 > 0 ? C1 : -1 ) ) ) ) ) )
;
);
}; };
arity_tag<0>::type arity_helper(...); arity_tag<0>::type arity_helper(...);
@@ -83,21 +82,18 @@ arity_helper(type_wrapper< F< T1,T2,T3,T4,T5,T6 > >, arity_tag<6>);
template< typename F, int N > template< typename F, int N >
struct template_arity_impl struct template_arity_impl
{ {
static int const value = BOOST_STATIC_CONSTANT(int, value =
sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1 sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
; );
}; };
template< typename F > template< typename F >
struct template_arity struct template_arity
{ {
static int const value = BOOST_STATIC_CONSTANT(int, value = (
( max_arity< template_arity_impl< F,1 >::value, template_arity_impl< max_arity< template_arity_impl< F,1 >::value, template_arity_impl< F,2 >::value, template_arity_impl< F,3 >::value, template_arity_impl< F,4 >::value, template_arity_impl< F,5 >::value, template_arity_impl< F,6 >::value >::value
F,2 >::value, template_arity_impl< F,3 >::value, template_arity_impl<
F,4 >::value, template_arity_impl< F,5 >::value, template_arity_impl< ));
F,6 >::value >::value )
;
typedef int_<value> type; typedef int_<value> type;
}; };

View File

@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template< typename Tag > struct times_impl< na,Tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template< typename Tag > struct times_impl< Tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
static int const value = 0; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -135,8 +135,8 @@ struct times_impl< integral_c_tag,integral_c_tag >
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type
>::type >::type
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) , ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) * BOOST_MPL_AUX_VALUE_WKND(N2)::value
) )
> >
{ {

View File

@@ -17,13 +17,13 @@ struct msvc_apply0
template< bool > struct f_ : F {}; template< bool > struct f_ : F {};
template<> struct f_<true> template<> struct f_<true>
{ {
template< typename P = int > struct apply template< typename P = int > struct apply
{ {
typedef int type; typedef int type;
}; };
}; };
template< typename T = int > struct result_ template< typename T = int > struct result_
: f_< aux::msvc_never_true<F>::value > : f_< aux::msvc_never_true<F>::value >
::template apply<> ::template apply<>
{ {

View File

@@ -13,7 +13,7 @@
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
template<> struct arg< -1 > template<> struct arg< -1 >
{ {
enum { value = -1 }; BOOST_STATIC_CONSTANT(int, value = -1);
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
template<> struct arg<1> template<> struct arg<1>
{ {
enum { value = 1 }; BOOST_STATIC_CONSTANT(int, value = 1);
typedef arg<2> next; typedef arg<2> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -48,7 +48,7 @@ template<> struct arg<1>
template<> struct arg<2> template<> struct arg<2>
{ {
enum { value = 2 }; BOOST_STATIC_CONSTANT(int, value = 2);
typedef arg<3> next; typedef arg<3> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -66,7 +66,7 @@ template<> struct arg<2>
template<> struct arg<3> template<> struct arg<3>
{ {
enum { value = 3 }; BOOST_STATIC_CONSTANT(int, value = 3);
typedef arg<4> next; typedef arg<4> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -84,7 +84,7 @@ template<> struct arg<3>
template<> struct arg<4> template<> struct arg<4>
{ {
enum { value = 4 }; BOOST_STATIC_CONSTANT(int, value = 4);
typedef arg<5> next; typedef arg<5> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
@@ -102,7 +102,7 @@ template<> struct arg<4>
template<> struct arg<5> template<> struct arg<5>
{ {
enum { value = 5 }; BOOST_STATIC_CONSTANT(int, value = 5);
typedef arg<6> next; typedef arg<6> next;
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag) BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
BOOST_MPL_AUX_ARG_TYPEDEF(na, type) BOOST_MPL_AUX_ARG_TYPEDEF(na, type)

View File

@@ -62,12 +62,12 @@ template< typename T > aux::no_tag is_bind_helper(protect<T>*);
template< int N > template< int N >
aux::yes_tag is_bind_helper(arg<N>*); aux::yes_tag is_bind_helper(arg<N>*);
template< bool is_ref_ = true > template< bool is_ref_ = true >
struct is_bind_template_impl struct is_bind_template_impl
{ {
template< typename T > struct result_ template< typename T > struct result_
{ {
enum { value = false }; BOOST_STATIC_CONSTANT(bool, value = false);
}; };
}; };
@@ -76,11 +76,10 @@ struct is_bind_template_impl<false>
{ {
template< typename T > struct result_ template< typename T > struct result_
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
sizeof(aux::is_bind_helper(static_cast<T*>(0))) == sizeof(aux::is_bind_helper(static_cast<T*>(0)))
sizeof(aux::yes_tag) == sizeof(aux::yes_tag)
}; );
}; };
}; };

View File

@@ -88,12 +88,12 @@ template< typename T > aux::no_tag is_bind_helper(protect<T>*);
template< int N > template< int N >
aux::yes_tag is_bind_helper(arg<N>*); aux::yes_tag is_bind_helper(arg<N>*);
template< bool is_ref_ = true > template< bool is_ref_ = true >
struct is_bind_template_impl struct is_bind_template_impl
{ {
template< typename T > struct result_ template< typename T > struct result_
{ {
enum { value = false }; BOOST_STATIC_CONSTANT(bool, value = false);
}; };
}; };
@@ -102,11 +102,10 @@ struct is_bind_template_impl<false>
{ {
template< typename T > struct result_ template< typename T > struct result_
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
sizeof(aux::is_bind_helper(static_cast<T*>(0))) == sizeof(aux::is_bind_helper(static_cast<T*>(0)))
sizeof(aux::yes_tag) == sizeof(aux::yes_tag)
}; );
}; };
}; };

View File

@@ -16,8 +16,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct bitand_impl struct bitand_impl
: if_c< : if_c<
@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template<> struct bitand_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template<> struct bitand_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_bitand_impl struct bitand_wknd
{ {
enum msvc_wknd { value = (n1 & n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 & n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -100,7 +100,7 @@ template<>
struct bitand_impl< integral_c_tag,integral_c_tag > struct bitand_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_bitand_impl< : aux::bitand_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -16,8 +16,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct bitor_impl struct bitor_impl
: if_c< : if_c<
@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template<> struct bitor_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template<> struct bitor_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_bitor_impl struct bitor_wknd
{ {
enum msvc_wknd { value = (n1 | n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 | n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -100,7 +100,7 @@ template<>
struct bitor_impl< integral_c_tag,integral_c_tag > struct bitor_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_bitor_impl< : aux::bitor_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -16,8 +16,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct bitxor_impl struct bitxor_impl
: if_c< : if_c<
@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template<> struct bitxor_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template<> struct bitxor_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_bitxor_impl struct bitxor_wknd
{ {
enum msvc_wknd { value = (n1 ^ n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 ^ n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -100,7 +100,7 @@ template<>
struct bitxor_impl< integral_c_tag,integral_c_tag > struct bitxor_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_bitxor_impl< : aux::bitxor_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct divides_impl struct divides_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct divides_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct divides_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_divides_impl struct divides_wknd
{ {
enum msvc_wknd { value = (n1 / n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 / n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -99,7 +99,7 @@ template<>
struct divides_impl< integral_c_tag,integral_c_tag > struct divides_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_divides_impl< : aux::divides_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct equal_to_impl struct equal_to_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct equal_to_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct equal_to_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -91,10 +91,10 @@ struct equal_to_impl< integral_c_tag,integral_c_tag >
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) == ( BOOST_MPL_AUX_VALUE_WKND(N1)::value ==
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) BOOST_MPL_AUX_VALUE_WKND(N2)::value )
}; );
typedef bool_<value> type; typedef bool_<value> type;
}; };
}; };

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct greater_impl struct greater_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct greater_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct greater_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -91,10 +91,10 @@ struct greater_impl< integral_c_tag,integral_c_tag >
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) > ( BOOST_MPL_AUX_VALUE_WKND(N1)::value >
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) BOOST_MPL_AUX_VALUE_WKND(N2)::value )
}; );
typedef bool_<value> type; typedef bool_<value> type;
}; };
}; };

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct greater_equal_impl struct greater_equal_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct greater_equal_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct greater_equal_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -91,10 +91,10 @@ struct greater_equal_impl< integral_c_tag,integral_c_tag >
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) >= ( BOOST_MPL_AUX_VALUE_WKND(N1)::value >=
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) BOOST_MPL_AUX_VALUE_WKND(N2)::value )
}; );
typedef bool_<value> type; typedef bool_<value> type;
}; };
}; };

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct less_impl struct less_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct less_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct less_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -91,10 +91,10 @@ struct less_impl< integral_c_tag,integral_c_tag >
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) > ( BOOST_MPL_AUX_VALUE_WKND(N2)::value >
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) ) BOOST_MPL_AUX_VALUE_WKND(N1)::value )
}; );
typedef bool_<value> type; typedef bool_<value> type;
}; };
}; };

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct less_equal_impl struct less_equal_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct less_equal_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct less_equal_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -91,10 +91,10 @@ struct less_equal_impl< integral_c_tag,integral_c_tag >
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) <= ( BOOST_MPL_AUX_VALUE_WKND(N1)::value <=
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) BOOST_MPL_AUX_VALUE_WKND(N2)::value )
}; );
typedef bool_<value> type; typedef bool_<value> type;
}; };
}; };

View File

@@ -484,13 +484,13 @@ namespace aux {
template< typename T > template< typename T >
struct is_list_arg struct is_list_arg
{ {
enum { value = true }; BOOST_STATIC_CONSTANT(bool, value = true);
}; };
template<> template<>
struct is_list_arg<na> struct is_list_arg<na>
{ {
enum { value = false }; BOOST_STATIC_CONSTANT(bool, value = false);
}; };
template< template<
@@ -501,7 +501,7 @@ template<
> >
struct list_count_args struct list_count_args
{ {
enum { value = BOOST_STATIC_CONSTANT(int, value =
is_list_arg<T1>::value + is_list_arg<T2>::value is_list_arg<T1>::value + is_list_arg<T2>::value
+ is_list_arg<T3>::value + is_list_arg<T4>::value + is_list_arg<T3>::value + is_list_arg<T4>::value
+ is_list_arg<T5>::value + is_list_arg<T6>::value + is_list_arg<T5>::value + is_list_arg<T6>::value
@@ -512,7 +512,7 @@ struct list_count_args
+ is_list_arg<T15>::value + is_list_arg<T16>::value + is_list_arg<T15>::value + is_list_arg<T16>::value
+ is_list_arg<T17>::value + is_list_arg<T18>::value + is_list_arg<T17>::value + is_list_arg<T18>::value
+ is_list_arg<T19>::value + is_list_arg<T20>::value + is_list_arg<T19>::value + is_list_arg<T20>::value
}; );
}; };

View File

@@ -463,13 +463,13 @@ namespace aux {
template< long C > template< long C >
struct is_list_c_arg struct is_list_c_arg
{ {
enum { value = true }; BOOST_STATIC_CONSTANT(bool, value = true);
}; };
template<> template<>
struct is_list_c_arg<LONG_MAX> struct is_list_c_arg<LONG_MAX>
{ {
enum { value = false }; BOOST_STATIC_CONSTANT(bool, value = false);
}; };
template< template<
@@ -479,7 +479,7 @@ template<
> >
struct list_c_count_args struct list_c_count_args
{ {
enum { value = BOOST_STATIC_CONSTANT(int, value =
is_list_c_arg<C1>::value + is_list_c_arg<C2>::value is_list_c_arg<C1>::value + is_list_c_arg<C2>::value
+ is_list_c_arg<C3>::value + is_list_c_arg<C4>::value + is_list_c_arg<C3>::value + is_list_c_arg<C4>::value
+ is_list_c_arg<C5>::value + is_list_c_arg<C6>::value + is_list_c_arg<C5>::value + is_list_c_arg<C6>::value
@@ -490,7 +490,7 @@ struct list_c_count_args
+ is_list_c_arg<C15>::value + is_list_c_arg<C16>::value + is_list_c_arg<C15>::value + is_list_c_arg<C16>::value
+ is_list_c_arg<C17>::value + is_list_c_arg<C18>::value + is_list_c_arg<C17>::value + is_list_c_arg<C18>::value
+ is_list_c_arg<C19>::value + is_list_c_arg<C20>::value + is_list_c_arg<C19>::value + is_list_c_arg<C20>::value
}; );
}; };

View File

@@ -484,13 +484,13 @@ namespace aux {
template< typename T > template< typename T >
struct is_map_arg struct is_map_arg
{ {
enum { value = true }; BOOST_STATIC_CONSTANT(bool, value = true);
}; };
template<> template<>
struct is_map_arg<na> struct is_map_arg<na>
{ {
enum { value = false }; BOOST_STATIC_CONSTANT(bool, value = false);
}; };
template< template<
@@ -501,7 +501,7 @@ template<
> >
struct map_count_args struct map_count_args
{ {
enum { value = BOOST_STATIC_CONSTANT(int, value =
is_map_arg<T1>::value + is_map_arg<T2>::value is_map_arg<T1>::value + is_map_arg<T2>::value
+ is_map_arg<T3>::value + is_map_arg<T4>::value + is_map_arg<T3>::value + is_map_arg<T4>::value
+ is_map_arg<T5>::value + is_map_arg<T6>::value + is_map_arg<T5>::value + is_map_arg<T6>::value
@@ -512,7 +512,7 @@ struct map_count_args
+ is_map_arg<T15>::value + is_map_arg<T16>::value + is_map_arg<T15>::value + is_map_arg<T16>::value
+ is_map_arg<T17>::value + is_map_arg<T18>::value + is_map_arg<T17>::value + is_map_arg<T18>::value
+ is_map_arg<T19>::value + is_map_arg<T20>::value + is_map_arg<T19>::value + is_map_arg<T20>::value
}; );
}; };

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct minus_impl struct minus_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct minus_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct minus_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_minus_impl struct minus_wknd
{ {
enum msvc_wknd { value = (n1 - n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 - n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -99,7 +99,7 @@ template<>
struct minus_impl< integral_c_tag,integral_c_tag > struct minus_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_minus_impl< : aux::minus_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct modulus_impl struct modulus_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct modulus_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct modulus_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_modulus_impl struct modulus_wknd
{ {
enum msvc_wknd { value = (n1 % n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 % n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -99,7 +99,7 @@ template<>
struct modulus_impl< integral_c_tag,integral_c_tag > struct modulus_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_modulus_impl< : aux::modulus_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct not_equal_to_impl struct not_equal_to_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct not_equal_to_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct not_equal_to_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -91,10 +91,10 @@ struct not_equal_to_impl< integral_c_tag,integral_c_tag >
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
{ {
enum { value = BOOST_STATIC_CONSTANT(bool, value =
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) != ( BOOST_MPL_AUX_VALUE_WKND(N1)::value !=
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) ) BOOST_MPL_AUX_VALUE_WKND(N2)::value )
}; );
typedef bool_<value> type; typedef bool_<value> type;
}; };
}; };

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct plus_impl struct plus_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct plus_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct plus_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_plus_impl struct plus_wknd
{ {
enum msvc_wknd { value = (n1 + n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 + n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -99,7 +99,7 @@ template<>
struct plus_impl< integral_c_tag,integral_c_tag > struct plus_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_plus_impl< : aux::plus_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

View File

@@ -484,13 +484,13 @@ namespace aux {
template< typename T > template< typename T >
struct is_set_arg struct is_set_arg
{ {
enum { value = true }; BOOST_STATIC_CONSTANT(bool, value = true);
}; };
template<> template<>
struct is_set_arg<na> struct is_set_arg<na>
{ {
enum { value = false }; BOOST_STATIC_CONSTANT(bool, value = false);
}; };
template< template<
@@ -501,7 +501,7 @@ template<
> >
struct set_count_args struct set_count_args
{ {
enum { value = BOOST_STATIC_CONSTANT(int, value =
is_set_arg<T1>::value + is_set_arg<T2>::value is_set_arg<T1>::value + is_set_arg<T2>::value
+ is_set_arg<T3>::value + is_set_arg<T4>::value + is_set_arg<T3>::value + is_set_arg<T4>::value
+ is_set_arg<T5>::value + is_set_arg<T6>::value + is_set_arg<T5>::value + is_set_arg<T6>::value
@@ -512,7 +512,7 @@ struct set_count_args
+ is_set_arg<T15>::value + is_set_arg<T16>::value + is_set_arg<T15>::value + is_set_arg<T16>::value
+ is_set_arg<T17>::value + is_set_arg<T18>::value + is_set_arg<T17>::value + is_set_arg<T18>::value
+ is_set_arg<T19>::value + is_set_arg<T20>::value + is_set_arg<T19>::value + is_set_arg<T20>::value
}; );
}; };

View File

@@ -16,8 +16,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct shift_left_impl struct shift_left_impl
: if_c< : if_c<
@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template<> struct shift_left_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template<> struct shift_left_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, typename Shift, T n, Shift s > template< typename T, typename Shift, T n, Shift s >
struct msvc_shift_left_impl struct shift_left_wknd
{ {
enum msvc_wknd { value = (n << s) }; BOOST_STATIC_CONSTANT(T, value = (n << s));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -100,7 +100,7 @@ template<>
struct shift_left_impl< integral_c_tag,integral_c_tag > struct shift_left_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N, typename S > struct apply template< typename N, typename S > struct apply
: aux::msvc_shift_left_impl< : aux::shift_left_wknd<
typename N::value_type typename N::value_type
, typename S::value_type , typename S::value_type
, N::value , N::value

View File

@@ -16,8 +16,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct shift_right_impl struct shift_right_impl
: if_c< : if_c<
@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -43,7 +43,7 @@ template<> struct shift_right_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -52,7 +52,7 @@ template<> struct shift_right_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, typename Shift, T n, Shift s > template< typename T, typename Shift, T n, Shift s >
struct msvc_shift_right_impl struct shift_right_wknd
{ {
enum msvc_wknd { value = (n >> s) }; BOOST_STATIC_CONSTANT(T, value = (n >> s));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -100,7 +100,7 @@ template<>
struct shift_right_impl< integral_c_tag,integral_c_tag > struct shift_right_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N, typename S > struct apply template< typename N, typename S > struct apply
: aux::msvc_shift_right_impl< : aux::shift_right_wknd<
typename N::value_type typename N::value_type
, typename S::value_type , typename S::value_type
, N::value , N::value

View File

@@ -15,8 +15,8 @@ template<
typename Tag1 typename Tag1
, typename Tag2 , typename Tag2
, BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag1_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag1)::value
, BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value , BOOST_MPL_AUX_NTTP_DECL(int, tag2_) = BOOST_MPL_AUX_MSVC_VALUE_WKND(Tag2)::value
> >
struct times_impl struct times_impl
: if_c< : if_c<
@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -42,7 +42,7 @@ template<> struct times_impl< na,integral_c_tag >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -51,7 +51,7 @@ template<> struct times_impl< integral_c_tag,na >
template< typename U1, typename U2 > struct apply template< typename U1, typename U2 > struct apply
{ {
typedef apply type; typedef apply type;
enum { value = 0 }; BOOST_STATIC_CONSTANT(int, value = 0);
}; };
}; };
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
namespace aux { namespace aux {
template< typename T, T n1, T n2 > template< typename T, T n1, T n2 >
struct msvc_times_impl struct times_wknd
{ {
enum msvc_wknd { value = (n1 * n2) }; BOOST_STATIC_CONSTANT(T, value = (n1 * n2));
typedef integral_c< T,value > type; typedef integral_c< T,value > type;
}; };
@@ -99,7 +99,7 @@ template<>
struct times_impl< integral_c_tag,integral_c_tag > struct times_impl< integral_c_tag,integral_c_tag >
{ {
template< typename N1, typename N2 > struct apply template< typename N1, typename N2 > struct apply
: aux::msvc_times_impl< : aux::times_wknd<
typename aux::largest_int< typename aux::largest_int<
typename N1::value_type typename N1::value_type
, typename N2::value_type , typename N2::value_type

Some files were not shown because too many files have changed in this diff Show More