/
usr
/
include
/
boost
/
mpl
/
aux_
/
/usr/include/boost/mpl/aux_
mkdir
upload
Name
Size
Mode
Actions
config/
-
0755
rm
preprocessed/
-
0755
rm
preprocessor/
-
0755
rm
range_c/
-
0755
rm
test/
-
0755
rm
adl_barrier.hpp
1559
0644
edit
dl
rm
advance_backward.hpp
3419
0644
edit
dl
rm
advance_forward.hpp
3338
0644
edit
dl
rm
apply_1st.hpp
731
0644
edit
dl
rm
arg_typedef.hpp
776
0644
edit
dl
rm
arithmetic_op.hpp
2441
0644
edit
dl
rm
arity.hpp
1095
0644
edit
dl
rm
arity_spec.hpp
1832
0644
edit
dl
rm
at_impl.hpp
1091
0644
edit
dl
rm
back_impl.hpp
1121
0644
edit
dl
rm
basic_bind.hpp
550
0644
edit
dl
rm
begin_end_impl.hpp
2643
0644
edit
dl
rm
clear_impl.hpp
827
0644
edit
dl
rm
common_name_wknd.hpp
877
0644
edit
dl
rm
comparison_op.hpp
2153
0644
edit
dl
rm
contains_impl.hpp
1572
0644
edit
dl
rm
count_args.hpp
2937
0644
edit
dl
rm
count_impl.hpp
1175
0644
edit
dl
rm
empty_impl.hpp
1059
0644
edit
dl
rm
erase_impl.hpp
1767
0644
edit
dl
rm
erase_key_impl.hpp
749
0644
edit
dl
rm
filter_iter.hpp
3017
0644
edit
dl
rm
find_if_pred.hpp
756
0644
edit
dl
rm
fold_impl.hpp
1271
0644
edit
dl
rm
fold_impl_body.hpp
8944
0644
edit
dl
rm
fold_op.hpp
822
0644
edit
dl
rm
fold_pred.hpp
764
0644
edit
dl
rm
front_impl.hpp
1032
0644
edit
dl
rm
full_lambda.hpp
8796
0644
edit
dl
rm
has_apply.hpp
767
0644
edit
dl
rm
has_begin.hpp
580
0644
edit
dl
rm
has_key_impl.hpp
856
0644
edit
dl
rm
has_rebind.hpp
2571
0644
edit
dl
rm
has_size.hpp
553
0644
edit
dl
rm
has_tag.hpp
571
0644
edit
dl
rm
has_type.hpp
575
0644
edit
dl
rm
include_preprocessed.hpp
1333
0644
edit
dl
rm
inserter_algorithm.hpp
4816
0644
edit
dl
rm
insert_impl.hpp
1714
0644
edit
dl
rm
insert_range_impl.hpp
2225
0644
edit
dl
rm
integral_wrapper.hpp
3521
0644
edit
dl
rm
is_msvc_eti_arg.hpp
1318
0644
edit
dl
rm
iter_apply.hpp
902
0644
edit
dl
rm
iter_fold_if_impl.hpp
5848
0644
edit
dl
rm
iter_fold_impl.hpp
1240
0644
edit
dl
rm
iter_push_front.hpp
771
0644
edit
dl
rm
joint_iter.hpp
2877
0644
edit
dl
rm
lambda_arity_param.hpp
696
0644
edit
dl
rm
lambda_no_ctps.hpp
4941
0644
edit
dl
rm
lambda_spec.hpp
1214
0644
edit
dl
rm
lambda_support.hpp
5366
0644
edit
dl
rm
largest_int.hpp
1979
0644
edit
dl
rm
logical_op.hpp
4535
0644
edit
dl
rm
msvc_dtw.hpp
1742
0644
edit
dl
rm
msvc_eti_base.hpp
1668
0644
edit
dl
rm
msvc_is_class.hpp
1485
0644
edit
dl
rm
msvc_never_true.hpp
743
0644
edit
dl
rm
msvc_type.hpp
1207
0644
edit
dl
rm
na.hpp
1645
0644
edit
dl
rm
na_assert.hpp
958
0644
edit
dl
rm
na_fwd.hpp
673
0644
edit
dl
rm
na_spec.hpp
4449
0644
edit
dl
rm
nested_type_wknd.hpp
1266
0644
edit
dl
rm
nttp_decl.hpp
844
0644
edit
dl
rm
numeric_cast_utils.hpp
1763
0644
edit
dl
rm
numeric_op.hpp
8489
0644
edit
dl
rm
O1_size_impl.hpp
2104
0644
edit
dl
rm
order_impl.hpp
2044
0644
edit
dl
rm
overload_names.hpp
2029
0644
edit
dl
rm
partition_op.hpp
1390
0644
edit
dl
rm
pop_back_impl.hpp
804
0644
edit
dl
rm
pop_front_impl.hpp
1078
0644
edit
dl
rm
ptr_to_ref.hpp
1095
0644
edit
dl
rm
push_back_impl.hpp
2071
0644
edit
dl
rm
push_front_impl.hpp
2092
0644
edit
dl
rm
reverse_fold_impl.hpp
1384
0644
edit
dl
rm
reverse_fold_impl_body.hpp
10599
0644
edit
dl
rm
reverse_iter_fold_impl.hpp
1356
0644
edit
dl
rm
sequence_wrapper.hpp
8170
0644
edit
dl
rm
shift_op.hpp
2246
0644
edit
dl
rm
single_element_iter.hpp
2789
0644
edit
dl
rm
size_impl.hpp
1324
0644
edit
dl
rm
sort_impl.hpp
2877
0644
edit
dl
rm
static_cast.hpp
770
0644
edit
dl
rm
template_arity.hpp
4735
0644
edit
dl
rm
template_arity_fwd.hpp
563
0644
edit
dl
rm
test.hpp
729
0644
edit
dl
rm
traits_lambda_spec.hpp
1569
0644
edit
dl
rm
transform_iter.hpp
2636
0644
edit
dl
rm
type_wrapper.hpp
1181
0644
edit
dl
rm
unwrap.hpp
929
0644
edit
dl
rm
value_wknd.hpp
2029
0644
edit
dl
rm
yes_no.hpp
1180
0644
edit
dl
rm
Edit:
/usr/include/boost/mpl/aux_/template_arity.hpp
(4735B)
#if !defined(BOOST_PP_IS_ITERATING) ///// header body #ifndef BOOST_MPL_AUX_TEMPLATE_ARITY_HPP_INCLUDED #define BOOST_MPL_AUX_TEMPLATE_ARITY_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2001-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/mpl for documentation. // $Id$ // $Date$ // $Revision$ #include <boost/mpl/aux_/config/ttp.hpp> #include <boost/mpl/aux_/config/lambda.hpp> #if !defined(BOOST_MPL_PREPROCESSING_MODE) # include <boost/mpl/aux_/template_arity_fwd.hpp> # include <boost/mpl/int.hpp> # if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) # if defined(BOOST_MPL_CFG_EXTENDED_TEMPLATE_PARAMETERS_MATCHING) # include <boost/mpl/aux_/type_wrapper.hpp> # endif # else # include <boost/mpl/aux_/has_rebind.hpp> # endif #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) \ && !defined(BOOST_MPL_PREPROCESSING_MODE) # define BOOST_MPL_PREPROCESSED_HEADER template_arity.hpp # include <boost/mpl/aux_/include_preprocessed.hpp> #else # if !defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) # if defined(BOOST_MPL_CFG_EXTENDED_TEMPLATE_PARAMETERS_MATCHING) # include <boost/mpl/limits/arity.hpp> # include <boost/mpl/aux_/preprocessor/range.hpp> # include <boost/mpl/aux_/preprocessor/repeat.hpp> # include <boost/mpl/aux_/preprocessor/params.hpp> # include <boost/mpl/aux_/nttp_decl.hpp> # include <boost/preprocessor/seq/fold_left.hpp> # include <boost/preprocessor/comma_if.hpp> # include <boost/preprocessor/iterate.hpp> # include <boost/preprocessor/inc.hpp> # include <boost/preprocessor/cat.hpp> # define AUX778076_ARITY BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY) namespace boost { namespace mpl { namespace aux { template< BOOST_MPL_AUX_NTTP_DECL(int, N) > struct arity_tag { typedef char (&type)[N + 1]; }; # define AUX778076_MAX_ARITY_OP(unused, state, i_) \ ( BOOST_PP_CAT(C,i_) > 0 ? BOOST_PP_CAT(C,i_) : state ) \ /**/ template< BOOST_MPL_PP_PARAMS(AUX778076_ARITY, BOOST_MPL_AUX_NTTP_DECL(int, C)) > struct max_arity { BOOST_STATIC_CONSTANT(int, value = BOOST_PP_SEQ_FOLD_LEFT( AUX778076_MAX_ARITY_OP , -1 , BOOST_MPL_PP_RANGE(1, AUX778076_ARITY) ) ); }; # undef AUX778076_MAX_ARITY_OP arity_tag<0>::type arity_helper(...); # define BOOST_PP_ITERATION_LIMITS (1, AUX778076_ARITY) # define BOOST_PP_FILENAME_1 <boost/mpl/aux_/template_arity.hpp> # include BOOST_PP_ITERATE() template< typename F, BOOST_MPL_AUX_NTTP_DECL(int, N) > struct template_arity_impl { BOOST_STATIC_CONSTANT(int, value = sizeof(::boost::mpl::aux::arity_helper(type_wrapper<F>(),arity_tag<N>())) - 1 ); }; # define AUX778076_TEMPLATE_ARITY_IMPL_INVOCATION(unused, i_, F) \ BOOST_PP_COMMA_IF(i_) template_arity_impl<F,BOOST_PP_INC(i_)>::value \ /**/ template< typename F > struct template_arity { BOOST_STATIC_CONSTANT(int, value = ( max_arity< BOOST_MPL_PP_REPEAT( AUX778076_ARITY , AUX778076_TEMPLATE_ARITY_IMPL_INVOCATION , F ) >::value )); typedef mpl::int_<value> type; }; # undef AUX778076_TEMPLATE_ARITY_IMPL_INVOCATION # undef AUX778076_ARITY }}} # endif // BOOST_MPL_CFG_EXTENDED_TEMPLATE_PARAMETERS_MATCHING # else // BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT # include <boost/mpl/aux_/config/eti.hpp> namespace boost { namespace mpl { namespace aux { template< bool > struct template_arity_impl { template< typename F > struct result_ : mpl::int_<-1> { }; }; template<> struct template_arity_impl<true> { template< typename F > struct result_ : F::arity { }; }; template< typename F > struct template_arity : template_arity_impl< ::boost::mpl::aux::has_rebind<F>::value > ::template result_<F> { }; #if defined(BOOST_MPL_CFG_MSVC_ETI_BUG) template<> struct template_arity<int> : mpl::int_<-1> { }; #endif }}} # endif // BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS #endif // BOOST_MPL_AUX_TEMPLATE_ARITY_HPP_INCLUDED ///// iteration #else #define i_ BOOST_PP_FRAME_ITERATION(1) template< template< BOOST_MPL_PP_PARAMS(i_, typename P) > class F , BOOST_MPL_PP_PARAMS(i_, typename T) > typename arity_tag<i_>::type arity_helper(type_wrapper< F<BOOST_MPL_PP_PARAMS(i_, T)> >, arity_tag<i_>); #undef i_ #endif // BOOST_PP_IS_ITERATING
Save
cmd:
run