PATH:
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.2
/
src
/
cxx_supportlib
/
vendor-modified
/
boost
/
mpl
/
aux_
// Copyright Aleksey Gurtovoy 2000-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$ // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION! #if !defined(BOOST_MPL_PREPROCESSING_MODE) # include <boost/mpl/bool.hpp> # include <boost/mpl/aux_/nested_type_wknd.hpp> # include <boost/mpl/aux_/na_spec.hpp> # include <boost/mpl/aux_/lambda_support.hpp> #endif #include <boost/mpl/limits/arity.hpp> #include <boost/mpl/aux_/preprocessor/params.hpp> #include <boost/mpl/aux_/preprocessor/ext_params.hpp> #include <boost/mpl/aux_/preprocessor/def_params_tail.hpp> #include <boost/mpl/aux_/preprocessor/enum.hpp> #include <boost/mpl/aux_/preprocessor/sub.hpp> #include <boost/mpl/aux_/config/ctps.hpp> #include <boost/mpl/aux_/config/workaround.hpp> #include <boost/preprocessor/dec.hpp> #include <boost/preprocessor/inc.hpp> #include <boost/preprocessor/cat.hpp> namespace boost { namespace mpl { # define AUX778076_PARAMS(param, sub) \ BOOST_MPL_PP_PARAMS( \ BOOST_MPL_PP_SUB(BOOST_MPL_LIMIT_METAFUNCTION_ARITY, sub) \ , param \ ) \ /**/ # define AUX778076_SHIFTED_PARAMS(param, sub) \ BOOST_MPL_PP_EXT_PARAMS( \ 2, BOOST_MPL_PP_SUB(BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY), sub) \ , param \ ) \ /**/ # define AUX778076_SPEC_PARAMS(param) \ BOOST_MPL_PP_ENUM( \ BOOST_PP_DEC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY) \ , param \ ) \ /**/ namespace aux { #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template< bool C_, AUX778076_PARAMS(typename T, 1) > struct BOOST_PP_CAT(AUX778076_OP_NAME,impl) : BOOST_PP_CAT(AUX778076_OP_VALUE1,_) { }; template< AUX778076_PARAMS(typename T, 1) > struct BOOST_PP_CAT(AUX778076_OP_NAME,impl)< AUX778076_OP_VALUE2,AUX778076_PARAMS(T, 1) > : BOOST_PP_CAT(AUX778076_OP_NAME,impl)< BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value , AUX778076_SHIFTED_PARAMS(T, 1) , BOOST_PP_CAT(AUX778076_OP_VALUE2,_) > { }; template<> struct BOOST_PP_CAT(AUX778076_OP_NAME,impl)< AUX778076_OP_VALUE2 , AUX778076_SPEC_PARAMS(BOOST_PP_CAT(AUX778076_OP_VALUE2,_)) > : BOOST_PP_CAT(AUX778076_OP_VALUE2,_) { }; #else template< bool C_ > struct BOOST_PP_CAT(AUX778076_OP_NAME,impl) { template< AUX778076_PARAMS(typename T, 1) > struct result_ : BOOST_PP_CAT(AUX778076_OP_VALUE1,_) { }; }; template<> struct BOOST_PP_CAT(AUX778076_OP_NAME,impl)<AUX778076_OP_VALUE2> { template< AUX778076_PARAMS(typename T, 1) > struct result_ : BOOST_PP_CAT(AUX778076_OP_NAME,impl)< BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value >::template result_< AUX778076_SHIFTED_PARAMS(T,1),BOOST_PP_CAT(AUX778076_OP_VALUE2,_) > { }; #if BOOST_WORKAROUND(BOOST_MSVC, == 1300) template<> struct result_<AUX778076_SPEC_PARAMS(BOOST_PP_CAT(AUX778076_OP_VALUE2,_))> : BOOST_PP_CAT(AUX778076_OP_VALUE2,_) { }; }; #else }; template<> struct BOOST_PP_CAT(AUX778076_OP_NAME,impl)<AUX778076_OP_VALUE2> ::result_< AUX778076_SPEC_PARAMS(BOOST_PP_CAT(AUX778076_OP_VALUE2,_)) > : BOOST_PP_CAT(AUX778076_OP_VALUE2,_) { }; #endif // BOOST_MSVC == 1300 #endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION } // namespace aux template< typename BOOST_MPL_AUX_NA_PARAM(T1) , typename BOOST_MPL_AUX_NA_PARAM(T2) BOOST_MPL_PP_DEF_PARAMS_TAIL(2, typename T, BOOST_PP_CAT(AUX778076_OP_VALUE2,_)) > struct AUX778076_OP_NAME #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) : aux::BOOST_PP_CAT(AUX778076_OP_NAME,impl)< BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value , AUX778076_SHIFTED_PARAMS(T,0) > #else : aux::BOOST_PP_CAT(AUX778076_OP_NAME,impl)< BOOST_MPL_AUX_NESTED_TYPE_WKND(T1)::value >::template result_< AUX778076_SHIFTED_PARAMS(T,0) > #endif { BOOST_MPL_AUX_LAMBDA_SUPPORT( BOOST_MPL_LIMIT_METAFUNCTION_ARITY , AUX778076_OP_NAME , (AUX778076_PARAMS(T, 0)) ) }; BOOST_MPL_AUX_NA_SPEC2( 2 , BOOST_MPL_LIMIT_METAFUNCTION_ARITY , AUX778076_OP_NAME ) }} #undef AUX778076_SPEC_PARAMS #undef AUX778076_SHIFTED_PARAMS #undef AUX778076_PARAMS #undef AUX778076_OP_NAME #undef AUX778076_OP_VALUE1 #undef AUX778076_OP_VALUE2
[-] pop_back_impl.hpp
[edit]
[-] logical_op.hpp
[edit]
[+]
preprocessed
[-] shift_op.hpp
[edit]
[-] erase_impl.hpp
[edit]
[-] iter_fold_if_impl.hpp
[edit]
[+]
preprocessor
[-] pop_front_impl.hpp
[edit]
[-] contains_impl.hpp
[edit]
[-] lambda_no_ctps.hpp
[edit]
[-] has_type.hpp
[edit]
[-] template_arity_fwd.hpp
[edit]
[-] basic_bind.hpp
[edit]
[-] msvc_never_true.hpp
[edit]
[-] iter_apply.hpp
[edit]
[-] numeric_op.hpp
[edit]
[-] push_back_impl.hpp
[edit]
[-] fold_pred.hpp
[edit]
[-] adl_barrier.hpp
[edit]
[-] push_front_impl.hpp
[edit]
[+]
test
[-] fold_impl_body.hpp
[edit]
[-] joint_iter.hpp
[edit]
[-] size_impl.hpp
[edit]
[-] traits_lambda_spec.hpp
[edit]
[-] advance_backward.hpp
[edit]
[-] transform_iter.hpp
[edit]
[-] has_size.hpp
[edit]
[-] na.hpp
[edit]
[+]
config
[-] has_tag.hpp
[edit]
[-] apply_1st.hpp
[edit]
[-] iter_fold_impl.hpp
[edit]
[-] has_rebind.hpp
[edit]
[-] na_assert.hpp
[edit]
[-] nested_type_wknd.hpp
[edit]
[-] iter_push_front.hpp
[edit]
[-] begin_end_impl.hpp
[edit]
[-] empty_impl.hpp
[edit]
[-] ptr_to_ref.hpp
[edit]
[-] static_cast.hpp
[edit]
[-] single_element_iter.hpp
[edit]
[-] count_impl.hpp
[edit]
[-] front_impl.hpp
[edit]
[-] reverse_iter_fold_impl.hpp
[edit]
[-] at_impl.hpp
[edit]
[+]
..
[-] lambda_support.hpp
[edit]
[-] has_apply.hpp
[edit]
[-] arithmetic_op.hpp
[edit]
[-] insert_impl.hpp
[edit]
[-] advance_forward.hpp
[edit]
[-] O1_size_impl.hpp
[edit]
[-] reverse_fold_impl.hpp
[edit]
[-] arg_typedef.hpp
[edit]
[-] na_spec.hpp
[edit]
[-] filter_iter.hpp
[edit]
[-] arity_spec.hpp
[edit]
[-] count_args.hpp
[edit]
[-] include_preprocessed.hpp
[edit]
[-] fold_impl.hpp
[edit]
[-] is_msvc_eti_arg.hpp
[edit]
[-] na_fwd.hpp
[edit]
[-] msvc_is_class.hpp
[edit]
[-] find_if_pred.hpp
[edit]
[-] unwrap.hpp
[edit]
[-] order_impl.hpp
[edit]
[-] fold_op.hpp
[edit]
[-] common_name_wknd.hpp
[edit]
[-] sequence_wrapper.hpp
[edit]
[-] value_wknd.hpp
[edit]
[-] template_arity.hpp
[edit]
[-] full_lambda.hpp
[edit]
[-] largest_int.hpp
[edit]
[-] test.hpp
[edit]
[-] msvc_eti_base.hpp
[edit]
[-] numeric_cast_utils.hpp
[edit]
[-] has_key_impl.hpp
[edit]
[-] integral_wrapper.hpp
[edit]
[-] clear_impl.hpp
[edit]
[-] lambda_arity_param.hpp
[edit]
[+]
range_c
[-] inserter_algorithm.hpp
[edit]
[-] arity.hpp
[edit]
[-] reverse_fold_impl_body.hpp
[edit]
[-] erase_key_impl.hpp
[edit]
[-] lambda_spec.hpp
[edit]
[-] sort_impl.hpp
[edit]
[-] has_begin.hpp
[edit]
[-] msvc_dtw.hpp
[edit]
[-] comparison_op.hpp
[edit]
[-] insert_range_impl.hpp
[edit]
[-] overload_names.hpp
[edit]
[-] partition_op.hpp
[edit]
[-] msvc_type.hpp
[edit]
[-] nttp_decl.hpp
[edit]
[-] type_wrapper.hpp
[edit]
[-] back_impl.hpp
[edit]
[-] yes_no.hpp
[edit]