PATH:
opt
/
cpanel
/
ea-ruby27
/
src
/
passenger-release-6.1.2
/
src
/
cxx_supportlib
/
vendor-modified
/
boost
/
mpl
/
aux_
#if !defined(BOOST_PP_IS_ITERATING) ///// header body #ifndef BOOST_MPL_AUX_LAMBDA_NO_CTPS_HPP_INCLUDED #define BOOST_MPL_AUX_LAMBDA_NO_CTPS_HPP_INCLUDED // 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$ #if !defined(BOOST_MPL_PREPROCESSING_MODE) # include <boost/mpl/lambda_fwd.hpp> # include <boost/mpl/bind_fwd.hpp> # include <boost/mpl/protect.hpp> # include <boost/mpl/is_placeholder.hpp> # include <boost/mpl/if.hpp> # include <boost/mpl/identity.hpp> # include <boost/mpl/bool.hpp> # include <boost/mpl/aux_/na_spec.hpp> # include <boost/mpl/aux_/lambda_support.hpp> # include <boost/mpl/aux_/template_arity.hpp> # include <boost/mpl/aux_/value_wknd.hpp> #endif #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 lambda_no_ctps.hpp # include <boost/mpl/aux_/include_preprocessed.hpp> #else # include <boost/mpl/limits/arity.hpp> # include <boost/mpl/aux_/preprocessor/params.hpp> # include <boost/mpl/aux_/preprocessor/default_params.hpp> # include <boost/mpl/aux_/preprocessor/repeat.hpp> # include <boost/mpl/aux_/preprocessor/enum.hpp> # include <boost/mpl/aux_/config/msvc.hpp> # include <boost/mpl/aux_/config/workaround.hpp> # include <boost/preprocessor/comma_if.hpp> # include <boost/preprocessor/iterate.hpp> # include <boost/preprocessor/inc.hpp> # include <boost/preprocessor/cat.hpp> namespace boost { namespace mpl { # define AUX778076_LAMBDA_PARAMS(i_, param) \ BOOST_MPL_PP_PARAMS(i_, param) \ /**/ namespace aux { #define n_ BOOST_MPL_LIMIT_METAFUNCTION_ARITY template< BOOST_MPL_PP_DEFAULT_PARAMS(n_,bool C,false) > struct lambda_or : true_ { }; template<> struct lambda_or< BOOST_MPL_PP_ENUM(n_,false) > : false_ { }; #undef n_ template< typename Arity > struct lambda_impl { template< typename T, typename Tag, typename Protect > struct result_ { typedef T type; typedef is_placeholder<T> is_le; }; }; #define BOOST_PP_ITERATION_PARAMS_1 \ (3,(1, BOOST_MPL_LIMIT_METAFUNCTION_ARITY, <boost/mpl/aux_/lambda_no_ctps.hpp>)) #include BOOST_PP_ITERATE() } // namespace aux template< typename T , typename Tag , typename Protect > struct lambda { /// Metafunction forwarding confuses MSVC 6.x typedef typename aux::template_arity<T>::type arity_; typedef typename aux::lambda_impl<arity_> ::template result_< T,Tag,Protect > l_; typedef typename l_::type type; typedef typename l_::is_le is_le; BOOST_MPL_AUX_LAMBDA_SUPPORT(3, lambda, (T, Tag, Protect)) }; BOOST_MPL_AUX_NA_SPEC2(1, 3, lambda) template< typename T > struct is_lambda_expression : lambda<T>::is_le { }; # undef AUX778076_LAMBDA_PARAMS }} #endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS #endif // BOOST_MPL_AUX_LAMBDA_NO_CTPS_HPP_INCLUDED ///// iteration, depth == 1 #else #define i_ BOOST_PP_FRAME_ITERATION(1) # define AUX778076_LAMBDA_TYPEDEF(unused, i_, F) \ typedef lambda< \ typename F::BOOST_PP_CAT(arg,BOOST_PP_INC(i_)) \ , Tag \ , false_ \ > BOOST_PP_CAT(l,BOOST_PP_INC(i_)); \ /**/ # define AUX778076_IS_LE_TYPEDEF(unused, i_, unused2) \ typedef typename BOOST_PP_CAT(l,BOOST_PP_INC(i_))::is_le \ BOOST_PP_CAT(is_le,BOOST_PP_INC(i_)); \ /**/ # define AUX778076_IS_LAMBDA_EXPR(unused, i_, unused2) \ BOOST_PP_COMMA_IF(i_) \ BOOST_MPL_AUX_MSVC_VALUE_WKND(BOOST_PP_CAT(is_le,BOOST_PP_INC(i_)))::value \ /**/ # define AUX778076_LAMBDA_RESULT(unused, i_, unused2) \ , typename BOOST_PP_CAT(l,BOOST_PP_INC(i_))::type \ /**/ template<> struct lambda_impl< int_<i_> > { template< typename F, typename Tag, typename Protect > struct result_ { BOOST_MPL_PP_REPEAT(i_, AUX778076_LAMBDA_TYPEDEF, F) BOOST_MPL_PP_REPEAT(i_, AUX778076_IS_LE_TYPEDEF, unused) typedef aux::lambda_or< BOOST_MPL_PP_REPEAT(i_, AUX778076_IS_LAMBDA_EXPR, unused) > is_le; typedef BOOST_PP_CAT(bind,i_)< typename F::rebind BOOST_MPL_PP_REPEAT(i_, AUX778076_LAMBDA_RESULT, unused) > bind_; typedef typename if_< is_le , if_< Protect, mpl::protect<bind_>, bind_ > , identity<F> >::type type_; typedef typename type_::type type; }; }; # undef AUX778076_LAMBDA_RESULT # undef AUX778076_IS_LAMBDA_EXPR # undef AUX778076_IS_LE_TYPEDEF # undef AUX778076_LAMBDA_TYPEDEF #undef i_ #endif // BOOST_PP_IS_ITERATING
[-] 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]