PATH:
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.2
/
src
/
cxx_supportlib
/
vendor-modified
/
boost
/
mpl
/
aux_
#ifndef BOOST_MPL_AUX_NA_SPEC_HPP_INCLUDED #define BOOST_MPL_AUX_NA_SPEC_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$ #if !defined(BOOST_MPL_PREPROCESSING_MODE) # include <boost/mpl/lambda_fwd.hpp> # include <boost/mpl/int.hpp> # include <boost/mpl/bool.hpp> # include <boost/mpl/aux_/na.hpp> # include <boost/mpl/aux_/arity.hpp> # include <boost/mpl/aux_/template_arity_fwd.hpp> #endif #include <boost/mpl/aux_/preprocessor/params.hpp> #include <boost/mpl/aux_/preprocessor/enum.hpp> #include <boost/mpl/aux_/preprocessor/def_params_tail.hpp> #include <boost/mpl/aux_/lambda_arity_param.hpp> #include <boost/mpl/aux_/config/dtp.hpp> #include <boost/mpl/aux_/config/eti.hpp> #include <boost/mpl/aux_/nttp_decl.hpp> #include <boost/mpl/aux_/config/ttp.hpp> #include <boost/mpl/aux_/config/lambda.hpp> #include <boost/mpl/aux_/config/overload_resolution.hpp> #define BOOST_MPL_AUX_NA_PARAMS(i) \ BOOST_MPL_PP_ENUM(i, na) \ /**/ #if defined(BOOST_MPL_CFG_BROKEN_DEFAULT_PARAMETERS_IN_NESTED_TEMPLATES) # define BOOST_MPL_AUX_NA_SPEC_ARITY(i, name) \ namespace aux { \ template< BOOST_MPL_AUX_NTTP_DECL(int, N) > \ struct arity< \ name< BOOST_MPL_AUX_NA_PARAMS(i) > \ , N \ > \ : int_< BOOST_MPL_LIMIT_METAFUNCTION_ARITY > \ { \ }; \ } \ /**/ #else # define BOOST_MPL_AUX_NA_SPEC_ARITY(i, name) /**/ #endif #define BOOST_MPL_AUX_NA_SPEC_MAIN(i, name) \ template<> \ struct name< BOOST_MPL_AUX_NA_PARAMS(i) > \ { \ template< \ BOOST_MPL_PP_PARAMS(i, typename T) \ BOOST_MPL_PP_NESTED_DEF_PARAMS_TAIL(i, typename T, na) \ > \ struct apply \ : name< BOOST_MPL_PP_PARAMS(i, T) > \ { \ }; \ }; \ /**/ #if defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) # define BOOST_MPL_AUX_NA_SPEC_LAMBDA(i, name) \ template<> \ struct lambda< \ name< BOOST_MPL_AUX_NA_PARAMS(i) > \ , void_ \ , true_ \ > \ { \ typedef false_ is_le; \ typedef name< BOOST_MPL_AUX_NA_PARAMS(i) > type; \ }; \ template<> \ struct lambda< \ name< BOOST_MPL_AUX_NA_PARAMS(i) > \ , void_ \ , false_ \ > \ { \ typedef false_ is_le; \ typedef name< BOOST_MPL_AUX_NA_PARAMS(i) > type; \ }; \ /**/ #else # define BOOST_MPL_AUX_NA_SPEC_LAMBDA(i, name) \ template< typename Tag > \ struct lambda< \ name< BOOST_MPL_AUX_NA_PARAMS(i) > \ , Tag \ BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(int_<-1>) \ > \ { \ typedef false_ is_le; \ typedef name< BOOST_MPL_AUX_NA_PARAMS(i) > result_; \ typedef name< BOOST_MPL_AUX_NA_PARAMS(i) > type; \ }; \ /**/ #endif #if defined(BOOST_MPL_CFG_EXTENDED_TEMPLATE_PARAMETERS_MATCHING) \ || defined(BOOST_MPL_CFG_NO_FULL_LAMBDA_SUPPORT) \ && defined(BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION) # define BOOST_MPL_AUX_NA_SPEC_TEMPLATE_ARITY(i, j, name) \ namespace aux { \ template< BOOST_MPL_PP_PARAMS(j, typename T) > \ struct template_arity< \ name< BOOST_MPL_PP_PARAMS(j, T) > \ > \ : int_<j> \ { \ }; \ \ template<> \ struct template_arity< \ name< BOOST_MPL_PP_ENUM(i, na) > \ > \ : int_<-1> \ { \ }; \ } \ /**/ #else # define BOOST_MPL_AUX_NA_SPEC_TEMPLATE_ARITY(i, j, name) /**/ #endif #if defined(BOOST_MPL_CFG_MSVC_ETI_BUG) # define BOOST_MPL_AUX_NA_SPEC_ETI(i, name) \ template<> \ struct name< BOOST_MPL_PP_ENUM(i, int) > \ { \ typedef int type; \ enum { value = 0 }; \ }; \ /**/ #else # define BOOST_MPL_AUX_NA_SPEC_ETI(i, name) /**/ #endif #define BOOST_MPL_AUX_NA_PARAM(param) param = na #define BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ BOOST_MPL_AUX_NA_SPEC_MAIN(i, name) \ BOOST_MPL_AUX_NA_SPEC_LAMBDA(i, name) \ BOOST_MPL_AUX_NA_SPEC_ARITY(i, name) \ BOOST_MPL_AUX_NA_SPEC_TEMPLATE_ARITY(i, i, name) \ /**/ #define BOOST_MPL_AUX_NA_SPEC(i, name) \ BOOST_MPL_AUX_NA_SPEC_NO_ETI(i, name) \ BOOST_MPL_AUX_NA_SPEC_ETI(i, name) \ /**/ #define BOOST_MPL_AUX_NA_SPEC2(i, j, name) \ BOOST_MPL_AUX_NA_SPEC_MAIN(i, name) \ BOOST_MPL_AUX_NA_SPEC_ETI(i, name) \ BOOST_MPL_AUX_NA_SPEC_LAMBDA(i, name) \ BOOST_MPL_AUX_NA_SPEC_ARITY(i, name) \ BOOST_MPL_AUX_NA_SPEC_TEMPLATE_ARITY(i, j, name) \ /**/ #endif // BOOST_MPL_AUX_NA_SPEC_HPP_INCLUDED
[-] 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]