mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 23:04:33 +02:00
more MIPSpro fixes
[SVN r24947]
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/aux_/config/static_constant.hpp>
|
||||
|
||||
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||
# include <boost/mpl/arg_fwd.hpp>
|
||||
# include <boost/mpl/assert.hpp>
|
||||
@@ -29,6 +27,7 @@
|
||||
# include <boost/mpl/aux_/arg_typedef.hpp>
|
||||
#endif
|
||||
|
||||
#include <boost/mpl/aux_/config/static_constant.hpp>
|
||||
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
|
||||
|
||||
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#endif
|
||||
|
||||
#include <boost/mpl/aux_/numeric_op.hpp>
|
||||
#include <boost/mpl/aux_/config/static_constant.hpp>
|
||||
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
|
||||
|
||||
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
|
||||
@@ -40,12 +41,12 @@
|
||||
|
||||
namespace boost { namespace mpl {
|
||||
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||
#if defined(BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC)
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
}
|
||||
@@ -55,18 +56,18 @@ template<>
|
||||
struct AUX778076_OP_IMPL_NAME<integral_c_tag,integral_c_tag>
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
||||
#if !defined(BOOST_MPL_CFG_NO_NESTED_VALUE_ARITHMETIC)
|
||||
: integral_c<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
AUX778076_OP_TOKEN BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
AUX778076_OP_TOKEN BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
#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 N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#include <boost/mpl/aux_/preprocessor/params.hpp>
|
||||
#include <boost/mpl/aux_/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)
|
||||
# define BOOST_MPL_AUX_NONTYPE_ARITY_SPEC(i,type,name) \
|
||||
|
@@ -25,6 +25,7 @@
|
||||
#define AUX778076_OP_ARITY 2
|
||||
|
||||
#include <boost/mpl/aux_/numeric_op.hpp>
|
||||
#include <boost/mpl/aux_/config/static_constant.hpp>
|
||||
#include <boost/mpl/aux_/config/use_preprocessed.hpp>
|
||||
|
||||
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
|
||||
@@ -35,7 +36,7 @@
|
||||
|
||||
#else
|
||||
|
||||
# include <boost/mpl/aux_/config/workaround.hpp>
|
||||
# include <boost/mpl/aux_/config/integral.hpp>
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
|
||||
namespace boost { namespace mpl {
|
||||
@@ -43,14 +44,12 @@ namespace boost { namespace mpl {
|
||||
// MSVC workaround: implement less in terms of greater
|
||||
#if 0 AUX778076_OP_TOKEN 1 && !(1 AUX778076_OP_TOKEN 0) && !(0 AUX778076_OP_TOKEN 0)
|
||||
# define AUX778076_OP(N1, N2) \
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) \
|
||||
> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) \
|
||||
) \
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N2)::value > BOOST_MPL_AUX_VALUE_WKND(N1)::value ) \
|
||||
/**/
|
||||
#else
|
||||
# define AUX778076_OP(N1, N2) \
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) \
|
||||
AUX778076_OP_TOKEN BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) \
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N1)::value \
|
||||
AUX778076_OP_TOKEN BOOST_MPL_AUX_VALUE_WKND(N2)::value \
|
||||
) \
|
||||
/**/
|
||||
#endif
|
||||
@@ -59,7 +58,7 @@ template<>
|
||||
struct AUX778076_OP_IMPL_NAME<integral_c_tag,integral_c_tag>
|
||||
{
|
||||
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) >
|
||||
{
|
||||
#else
|
||||
|
@@ -1,6 +1,6 @@
|
||||
|
||||
#ifndef BOOST_MPL_AUX_CONFIG_BCC_INTEGRAL_CONSTANTS_HPP_INCLUDED
|
||||
#define BOOST_MPL_AUX_CONFIG_BCC_INTEGRAL_CONSTANTS_HPP_INCLUDED
|
||||
#ifndef BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED
|
||||
#define BOOST_MPL_AUX_CONFIG_INTEGRAL_HPP_INCLUDED
|
||||
|
||||
// Copyright Aleksey Gurtovoy 2004
|
||||
//
|
||||
@@ -14,6 +14,7 @@
|
||||
// $Date$
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/aux_/config/msvc.hpp>
|
||||
#include <boost/mpl/aux_/config/workaround.hpp>
|
||||
|
||||
#if !defined(BOOST_MPL_CFG_BCC_INTEGRAL_CONSTANTS) \
|
||||
@@ -24,4 +25,14 @@
|
||||
|
||||
#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
|
@@ -17,6 +17,9 @@
|
||||
#if !defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||
// BOOST_STATIC_CONSTANT is defined here:
|
||||
# include <boost/config.hpp>
|
||||
#else
|
||||
// undef the macro for the preprocessing mode
|
||||
# undef BOOST_STATIC_CONSTANT
|
||||
#endif
|
||||
|
||||
#endif // BOOST_MPL_AUX_CONFIG_STATIC_CONSTANT_HPP_INCLUDED
|
||||
|
@@ -29,9 +29,10 @@
|
||||
# include <boost/mpl/aux_/value_wknd.hpp>
|
||||
# include <boost/mpl/aux_/config/eti.hpp>
|
||||
# include <boost/mpl/aux_/nttp_decl.hpp>
|
||||
# include <boost/mpl/aux_/config/static_constant.hpp>
|
||||
#endif
|
||||
|
||||
#include <boost/mpl/aux_/config/static_constant.hpp>
|
||||
|
||||
#if defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \
|
||||
|| defined(BOOST_MPL_PREPROCESSING_MODE)
|
||||
|
||||
|
@@ -13,7 +13,7 @@
|
||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
|
||||
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, type)
|
||||
|
||||
@@ -29,7 +29,7 @@ template<> struct arg< -1 >
|
||||
|
||||
template<> struct arg<1>
|
||||
{
|
||||
static int const value = 1;
|
||||
BOOST_STATIC_CONSTANT(int, value = 1);
|
||||
typedef arg<2> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -46,7 +46,7 @@ template<> struct arg<1>
|
||||
|
||||
template<> struct arg<2>
|
||||
{
|
||||
static int const value = 2;
|
||||
BOOST_STATIC_CONSTANT(int, value = 2);
|
||||
typedef arg<3> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -63,7 +63,7 @@ template<> struct arg<2>
|
||||
|
||||
template<> struct arg<3>
|
||||
{
|
||||
static int const value = 3;
|
||||
BOOST_STATIC_CONSTANT(int, value = 3);
|
||||
typedef arg<4> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -80,7 +80,7 @@ template<> struct arg<3>
|
||||
|
||||
template<> struct arg<4>
|
||||
{
|
||||
static int const value = 4;
|
||||
BOOST_STATIC_CONSTANT(int, value = 4);
|
||||
typedef arg<5> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -97,7 +97,7 @@ template<> struct arg<4>
|
||||
|
||||
template<> struct arg<5>
|
||||
{
|
||||
static int const value = 5;
|
||||
BOOST_STATIC_CONSTANT(int, value = 5);
|
||||
typedef arg<6> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
& BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
| BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
/ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
- BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
% BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
+ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
<< BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
>> BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
* BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@
|
||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
|
||||
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, type)
|
||||
|
||||
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
|
||||
|
||||
template<> struct arg<1>
|
||||
{
|
||||
static int const value = 1;
|
||||
BOOST_STATIC_CONSTANT(int, value = 1);
|
||||
typedef arg<2> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -48,7 +48,7 @@ template<> struct arg<1>
|
||||
|
||||
template<> struct arg<2>
|
||||
{
|
||||
static int const value = 2;
|
||||
BOOST_STATIC_CONSTANT(int, value = 2);
|
||||
typedef arg<3> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -66,7 +66,7 @@ template<> struct arg<2>
|
||||
|
||||
template<> struct arg<3>
|
||||
{
|
||||
static int const value = 3;
|
||||
BOOST_STATIC_CONSTANT(int, value = 3);
|
||||
typedef arg<4> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -84,7 +84,7 @@ template<> struct arg<3>
|
||||
|
||||
template<> struct arg<4>
|
||||
{
|
||||
static int const value = 4;
|
||||
BOOST_STATIC_CONSTANT(int, value = 4);
|
||||
typedef arg<5> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -102,7 +102,7 @@ template<> struct arg<4>
|
||||
|
||||
template<> struct arg<5>
|
||||
{
|
||||
static int const value = 5;
|
||||
BOOST_STATIC_CONSTANT(int, value = 5);
|
||||
typedef arg<6> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
& BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
| BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
/ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
- BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
% BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
+ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
<< BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
>> BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
* BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@
|
||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
|
||||
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, type)
|
||||
|
||||
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
|
||||
|
||||
template<> struct arg<1>
|
||||
{
|
||||
static int const value = 1;
|
||||
BOOST_STATIC_CONSTANT(int, value = 1);
|
||||
typedef arg<2> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -48,7 +48,7 @@ template<> struct arg<1>
|
||||
|
||||
template<> struct arg<2>
|
||||
{
|
||||
static int const value = 2;
|
||||
BOOST_STATIC_CONSTANT(int, value = 2);
|
||||
typedef arg<3> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -66,7 +66,7 @@ template<> struct arg<2>
|
||||
|
||||
template<> struct arg<3>
|
||||
{
|
||||
static int const value = 3;
|
||||
BOOST_STATIC_CONSTANT(int, value = 3);
|
||||
typedef arg<4> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -84,7 +84,7 @@ template<> struct arg<3>
|
||||
|
||||
template<> struct arg<4>
|
||||
{
|
||||
static int const value = 4;
|
||||
BOOST_STATIC_CONSTANT(int, value = 4);
|
||||
typedef arg<5> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -102,7 +102,7 @@ template<> struct arg<4>
|
||||
|
||||
template<> struct arg<5>
|
||||
{
|
||||
static int const value = 5;
|
||||
BOOST_STATIC_CONSTANT(int, value = 5);
|
||||
typedef arg<6> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
& BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
| BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
/ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
- BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
% BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
+ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
<< BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
>> BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
* BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@
|
||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
|
||||
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, type)
|
||||
|
||||
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
|
||||
|
||||
template<> struct arg<1>
|
||||
{
|
||||
static int const value = 1;
|
||||
BOOST_STATIC_CONSTANT(int, value = 1);
|
||||
typedef arg<2> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -48,7 +48,7 @@ template<> struct arg<1>
|
||||
|
||||
template<> struct arg<2>
|
||||
{
|
||||
static int const value = 2;
|
||||
BOOST_STATIC_CONSTANT(int, value = 2);
|
||||
typedef arg<3> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -66,7 +66,7 @@ template<> struct arg<2>
|
||||
|
||||
template<> struct arg<3>
|
||||
{
|
||||
static int const value = 3;
|
||||
BOOST_STATIC_CONSTANT(int, value = 3);
|
||||
typedef arg<4> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -84,7 +84,7 @@ template<> struct arg<3>
|
||||
|
||||
template<> struct arg<4>
|
||||
{
|
||||
static int const value = 4;
|
||||
BOOST_STATIC_CONSTANT(int, value = 4);
|
||||
typedef arg<5> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -102,7 +102,7 @@ template<> struct arg<4>
|
||||
|
||||
template<> struct arg<5>
|
||||
{
|
||||
static int const value = 5;
|
||||
BOOST_STATIC_CONSTANT(int, value = 5);
|
||||
typedef arg<6> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
& BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
& BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
| BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
| BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
^ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
^ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
/ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
/ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
- BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
- BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
% BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
% BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
: 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 ) >
|
||||
{
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
+ BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
+ BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
<< BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
<< BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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<
|
||||
typename N::value_type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N::value_type, N)
|
||||
>> BOOST_MPL_AUX_NESTED_VALUE_WKND(typename S::value_type, S)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N)::value
|
||||
>> BOOST_MPL_AUX_VALUE_WKND(S)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -21,11 +21,10 @@ template<
|
||||
>
|
||||
struct max_arity
|
||||
{
|
||||
static int const value =
|
||||
( C6 > 0 ? C6 : ( C5 > 0 ? C5 : ( C4 > 0 ? C4 : ( C3 > 0 ? C3 : ( C2
|
||||
> 0 ? C2 : ( C1 > 0 ? C1 : -1 ) ) ) ) ) )
|
||||
;
|
||||
BOOST_STATIC_CONSTANT(int, value =
|
||||
( C6 > 0 ? C6 : ( C5 > 0 ? C5 : ( C4 > 0 ? C4 : ( C3 > 0 ? C3 : ( C2 > 0 ? C2 : ( C1 > 0 ? C1 : -1 ) ) ) ) ) )
|
||||
|
||||
);
|
||||
};
|
||||
|
||||
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 >
|
||||
struct template_arity_impl
|
||||
{
|
||||
static int const value =
|
||||
BOOST_STATIC_CONSTANT(int, value =
|
||||
sizeof(arity_helper(type_wrapper<F>(), arity_tag<N>())) - 1
|
||||
;
|
||||
|
||||
);
|
||||
};
|
||||
|
||||
template< typename F >
|
||||
struct template_arity
|
||||
{
|
||||
static int const value =
|
||||
( 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 )
|
||||
;
|
||||
BOOST_STATIC_CONSTANT(int, value = (
|
||||
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
|
||||
|
||||
));
|
||||
|
||||
typedef int_<value> type;
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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 N2::value_type
|
||||
>::type
|
||||
, ( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1)
|
||||
* BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2)
|
||||
, ( BOOST_MPL_AUX_VALUE_WKND(N1)::value
|
||||
* BOOST_MPL_AUX_VALUE_WKND(N2)::value
|
||||
)
|
||||
>
|
||||
{
|
||||
|
@@ -13,7 +13,7 @@
|
||||
BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
|
||||
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, type)
|
||||
|
||||
@@ -30,7 +30,7 @@ template<> struct arg< -1 >
|
||||
|
||||
template<> struct arg<1>
|
||||
{
|
||||
enum { value = 1 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 1);
|
||||
typedef arg<2> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -48,7 +48,7 @@ template<> struct arg<1>
|
||||
|
||||
template<> struct arg<2>
|
||||
{
|
||||
enum { value = 2 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 2);
|
||||
typedef arg<3> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -66,7 +66,7 @@ template<> struct arg<2>
|
||||
|
||||
template<> struct arg<3>
|
||||
{
|
||||
enum { value = 3 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 3);
|
||||
typedef arg<4> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -84,7 +84,7 @@ template<> struct arg<3>
|
||||
|
||||
template<> struct arg<4>
|
||||
{
|
||||
enum { value = 4 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 4);
|
||||
typedef arg<5> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
@@ -102,7 +102,7 @@ template<> struct arg<4>
|
||||
|
||||
template<> struct arg<5>
|
||||
{
|
||||
enum { value = 5 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 5);
|
||||
typedef arg<6> next;
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, tag)
|
||||
BOOST_MPL_AUX_ARG_TYPEDEF(na, type)
|
||||
|
@@ -67,7 +67,7 @@ struct is_bind_template_impl
|
||||
{
|
||||
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_
|
||||
{
|
||||
enum { value =
|
||||
sizeof(aux::is_bind_helper(static_cast<T*>(0))) ==
|
||||
sizeof(aux::yes_tag)
|
||||
};
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
sizeof(aux::is_bind_helper(static_cast<T*>(0)))
|
||||
== sizeof(aux::yes_tag)
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -93,7 +93,7 @@ struct is_bind_template_impl
|
||||
{
|
||||
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_
|
||||
{
|
||||
enum { value =
|
||||
sizeof(aux::is_bind_helper(static_cast<T*>(0))) ==
|
||||
sizeof(aux::yes_tag)
|
||||
};
|
||||
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
sizeof(aux::is_bind_helper(static_cast<T*>(0)))
|
||||
== sizeof(aux::yes_tag)
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitand_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -100,7 +100,7 @@ template<>
|
||||
struct bitand_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_bitand_impl<
|
||||
: aux::bitand_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -100,7 +100,7 @@ template<>
|
||||
struct bitor_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_bitor_impl<
|
||||
: aux::bitor_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -34,7 +34,7 @@ template<> struct bitxor_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -100,7 +100,7 @@ template<>
|
||||
struct bitxor_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_bitxor_impl<
|
||||
: aux::bitxor_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -33,7 +33,7 @@ template<> struct divides_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -99,7 +99,7 @@ template<>
|
||||
struct divides_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_divides_impl<
|
||||
: aux::divides_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -33,7 +33,7 @@ template<> struct equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
{
|
||||
enum { value =
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) ==
|
||||
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) )
|
||||
};
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N1)::value ==
|
||||
BOOST_MPL_AUX_VALUE_WKND(N2)::value )
|
||||
);
|
||||
typedef bool_<value> type;
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
{
|
||||
enum { value =
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) >
|
||||
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) )
|
||||
};
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N1)::value >
|
||||
BOOST_MPL_AUX_VALUE_WKND(N2)::value )
|
||||
);
|
||||
typedef bool_<value> type;
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct greater_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
{
|
||||
enum { value =
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) >=
|
||||
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) )
|
||||
};
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N1)::value >=
|
||||
BOOST_MPL_AUX_VALUE_WKND(N2)::value )
|
||||
);
|
||||
typedef bool_<value> type;
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
{
|
||||
enum { value =
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) >
|
||||
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) )
|
||||
};
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N2)::value >
|
||||
BOOST_MPL_AUX_VALUE_WKND(N1)::value )
|
||||
);
|
||||
typedef bool_<value> type;
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct less_equal_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
{
|
||||
enum { value =
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) <=
|
||||
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) )
|
||||
};
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N1)::value <=
|
||||
BOOST_MPL_AUX_VALUE_WKND(N2)::value )
|
||||
);
|
||||
typedef bool_<value> type;
|
||||
};
|
||||
};
|
||||
|
@@ -484,13 +484,13 @@ namespace aux {
|
||||
template< typename T >
|
||||
struct is_list_arg
|
||||
{
|
||||
enum { value = true };
|
||||
BOOST_STATIC_CONSTANT(bool, value = true);
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_list_arg<na>
|
||||
{
|
||||
enum { value = false };
|
||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||
};
|
||||
|
||||
template<
|
||||
@@ -501,7 +501,7 @@ template<
|
||||
>
|
||||
struct list_count_args
|
||||
{
|
||||
enum { value =
|
||||
BOOST_STATIC_CONSTANT(int, value =
|
||||
is_list_arg<T1>::value + is_list_arg<T2>::value
|
||||
+ is_list_arg<T3>::value + is_list_arg<T4>::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<T17>::value + is_list_arg<T18>::value
|
||||
+ is_list_arg<T19>::value + is_list_arg<T20>::value
|
||||
};
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
@@ -463,13 +463,13 @@ namespace aux {
|
||||
template< long C >
|
||||
struct is_list_c_arg
|
||||
{
|
||||
enum { value = true };
|
||||
BOOST_STATIC_CONSTANT(bool, value = true);
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_list_c_arg<LONG_MAX>
|
||||
{
|
||||
enum { value = false };
|
||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||
};
|
||||
|
||||
template<
|
||||
@@ -479,7 +479,7 @@ template<
|
||||
>
|
||||
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<C3>::value + is_list_c_arg<C4>::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<C17>::value + is_list_c_arg<C18>::value
|
||||
+ is_list_c_arg<C19>::value + is_list_c_arg<C20>::value
|
||||
};
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
@@ -484,13 +484,13 @@ namespace aux {
|
||||
template< typename T >
|
||||
struct is_map_arg
|
||||
{
|
||||
enum { value = true };
|
||||
BOOST_STATIC_CONSTANT(bool, value = true);
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_map_arg<na>
|
||||
{
|
||||
enum { value = false };
|
||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||
};
|
||||
|
||||
template<
|
||||
@@ -501,7 +501,7 @@ template<
|
||||
>
|
||||
struct map_count_args
|
||||
{
|
||||
enum { value =
|
||||
BOOST_STATIC_CONSTANT(int, value =
|
||||
is_map_arg<T1>::value + is_map_arg<T2>::value
|
||||
+ is_map_arg<T3>::value + is_map_arg<T4>::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<T17>::value + is_map_arg<T18>::value
|
||||
+ is_map_arg<T19>::value + is_map_arg<T20>::value
|
||||
};
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
@@ -33,7 +33,7 @@ template<> struct minus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -99,7 +99,7 @@ template<>
|
||||
struct minus_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_minus_impl<
|
||||
: aux::minus_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -33,7 +33,7 @@ template<> struct modulus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -99,7 +99,7 @@ template<>
|
||||
struct modulus_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_modulus_impl<
|
||||
: aux::modulus_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -33,7 +33,7 @@ template<> struct not_equal_to_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
|
||||
{
|
||||
enum { value =
|
||||
( BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N1::value_type, N1) !=
|
||||
BOOST_MPL_AUX_NESTED_VALUE_WKND(typename N2::value_type, N2) )
|
||||
};
|
||||
BOOST_STATIC_CONSTANT(bool, value =
|
||||
( BOOST_MPL_AUX_VALUE_WKND(N1)::value !=
|
||||
BOOST_MPL_AUX_VALUE_WKND(N2)::value )
|
||||
);
|
||||
typedef bool_<value> type;
|
||||
};
|
||||
};
|
||||
|
@@ -33,7 +33,7 @@ template<> struct plus_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -99,7 +99,7 @@ template<>
|
||||
struct plus_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_plus_impl<
|
||||
: aux::plus_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -484,13 +484,13 @@ namespace aux {
|
||||
template< typename T >
|
||||
struct is_set_arg
|
||||
{
|
||||
enum { value = true };
|
||||
BOOST_STATIC_CONSTANT(bool, value = true);
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_set_arg<na>
|
||||
{
|
||||
enum { value = false };
|
||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||
};
|
||||
|
||||
template<
|
||||
@@ -501,7 +501,7 @@ template<
|
||||
>
|
||||
struct set_count_args
|
||||
{
|
||||
enum { value =
|
||||
BOOST_STATIC_CONSTANT(int, value =
|
||||
is_set_arg<T1>::value + is_set_arg<T2>::value
|
||||
+ is_set_arg<T3>::value + is_set_arg<T4>::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<T17>::value + is_set_arg<T18>::value
|
||||
+ is_set_arg<T19>::value + is_set_arg<T20>::value
|
||||
};
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_left_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -100,7 +100,7 @@ template<>
|
||||
struct shift_left_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N, typename S > struct apply
|
||||
: aux::msvc_shift_left_impl<
|
||||
: aux::shift_left_wknd<
|
||||
typename N::value_type
|
||||
, typename S::value_type
|
||||
, N::value
|
||||
|
@@ -34,7 +34,7 @@ template<> struct shift_right_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,9 +88,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -100,7 +100,7 @@ template<>
|
||||
struct shift_right_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N, typename S > struct apply
|
||||
: aux::msvc_shift_right_impl<
|
||||
: aux::shift_right_wknd<
|
||||
typename N::value_type
|
||||
, typename S::value_type
|
||||
, N::value
|
||||
|
@@ -33,7 +33,7 @@ template<> struct times_impl< na,na >
|
||||
template< typename U1, typename U2 > struct apply
|
||||
{
|
||||
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
|
||||
{
|
||||
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
|
||||
{
|
||||
typedef apply type;
|
||||
enum { value = 0 };
|
||||
BOOST_STATIC_CONSTANT(int, value = 0);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -87,9 +87,9 @@ namespace boost { namespace mpl {
|
||||
|
||||
namespace aux {
|
||||
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;
|
||||
};
|
||||
|
||||
@@ -99,7 +99,7 @@ template<>
|
||||
struct times_impl< integral_c_tag,integral_c_tag >
|
||||
{
|
||||
template< typename N1, typename N2 > struct apply
|
||||
: aux::msvc_times_impl<
|
||||
: aux::times_wknd<
|
||||
typename aux::largest_int<
|
||||
typename N1::value_type
|
||||
, typename N2::value_type
|
||||
|
@@ -484,13 +484,13 @@ namespace aux {
|
||||
template< typename T >
|
||||
struct is_vector_arg
|
||||
{
|
||||
enum { value = true };
|
||||
BOOST_STATIC_CONSTANT(bool, value = true);
|
||||
};
|
||||
|
||||
template<>
|
||||
struct is_vector_arg<na>
|
||||
{
|
||||
enum { value = false };
|
||||
BOOST_STATIC_CONSTANT(bool, value = false);
|
||||
};
|
||||
|
||||
template<
|
||||
@@ -501,7 +501,7 @@ template<
|
||||
>
|
||||
struct vector_count_args
|
||||
{
|
||||
enum { value =
|
||||
BOOST_STATIC_CONSTANT(int, value =
|
||||
is_vector_arg<T1>::value + is_vector_arg<T2>::value
|
||||
+ is_vector_arg<T3>::value + is_vector_arg<T4>::value
|
||||
+ is_vector_arg<T5>::value + is_vector_arg<T6>::value
|
||||
@@ -512,7 +512,7 @@ struct vector_count_args
|
||||
+ is_vector_arg<T15>::value + is_vector_arg<T16>::value
|
||||
+ is_vector_arg<T17>::value + is_vector_arg<T18>::value
|
||||
+ is_vector_arg<T19>::value + is_vector_arg<T20>::value
|
||||
};
|
||||
);
|
||||
|
||||
};
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user