/usr/include/boost/parameter/aux_/pack
NameSizeModeActions
as_parameter_requirements.hpp13030644editdlrm
deduced_item.hpp9650644editdlrm
deduce_tag.hpp66120644editdlrm
insert_tagged.hpp7550644editdlrm
is_named_argument.hpp12930644editdlrm
item.hpp13080644editdlrm
make_arg_list.hpp144520644editdlrm
make_deduced_items.hpp17290644editdlrm
make_items.hpp14060644editdlrm
make_parameter_spec_items.hpp77010644editdlrm
parameter_requirements.hpp9230644editdlrm
predicate.hpp25540644editdlrm
satisfies.hpp48750644editdlrm
tag_deduced.hpp18710644editdlrm
tag_keyword_arg.hpp8750644editdlrm
tag_keyword_arg_ref.hpp19710644editdlrm
tag_template_keyword_arg.hpp8960644editdlrm
tag_type.hpp25120644editdlrm
unmatched_argument.hpp11220644editdlrm
Edit: /usr/include/boost/parameter/aux_/pack/predicate.hpp (2554B)
// Copyright David Abrahams, Daniel Wallin 2003. // 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) #ifndef BOOST_PARAMETER_AUX_PACK_PREDICATE_HPP #define BOOST_PARAMETER_AUX_PACK_PREDICATE_HPP namespace boost { namespace parameter { namespace aux { // helper for get_predicate<...>, below template struct get_predicate_or_default { typedef T type; }; // helper for predicate<...>, below template struct get_predicate : ::boost::parameter::aux ::get_predicate_or_default { }; }}} // namespace boost::parameter::aux #include #include namespace boost { namespace parameter { namespace aux { template <> struct get_predicate_or_default< ::boost::parameter::aux::use_default> { typedef ::boost::parameter::aux::always_true_predicate type; }; }}} // namespace boost::parameter::aux #include #include #include #if defined(BOOST_PARAMETER_CAN_USE_MP11) #include #include #else #include #include #include #include #endif namespace boost { namespace parameter { namespace aux { template #if defined(BOOST_PARAMETER_CAN_USE_MP11) using predicate = ::boost::mp11::mp_if< ::boost::mp11::mp_if< ::boost::parameter::aux::is_optional , ::boost::mp11::mp_true , ::boost::parameter::aux::is_required > , ::boost::parameter::aux::get_predicate , ::boost::mp11::mp_identity< ::boost::parameter::aux::always_true_predicate > >; #else struct predicate : ::boost::mpl::eval_if< typename ::boost::mpl::if_< ::boost::parameter::aux::is_optional , ::boost::mpl::true_ , ::boost::parameter::aux::is_required >::type , ::boost::parameter::aux::get_predicate , ::boost::mpl::identity< ::boost::parameter::aux::always_true_predicate > > { }; #endif // BOOST_PARAMETER_CAN_USE_MP11 }}} // namespace boost::parameter::aux #endif // include guard