/usr/include/boost/parameter/aux_
NameSizeModeActions
pack/-0755rm
pp_impl/-0755rm
preprocessor/-0755rm
python/-0755rm
always_true_predicate.hpp11490644editdlrm
arg_list.hpp439830644editdlrm
as_lvalue.hpp5850644editdlrm
augment_predicate.hpp59480644editdlrm
cast.hpp3660644editdlrm
default.hpp29200644editdlrm
has_nested_template_fn.hpp32840644editdlrm
is_maybe.hpp14370644editdlrm
is_placeholder.hpp15330644editdlrm
is_tagged_argument.hpp29540644editdlrm
lambda_tag.hpp4770644editdlrm
maybe.hpp42540644editdlrm
name.hpp27410644editdlrm
parameter_requirements.hpp4080644editdlrm
parenthesized_type.hpp4160644editdlrm
result_of0.hpp14710644editdlrm
set.hpp31820644editdlrm
tag.hpp55750644editdlrm
tagged_argument.hpp303340644editdlrm
tagged_argument_fwd.hpp10310644editdlrm
template_keyword.hpp27340644editdlrm
unwrap_cv_reference.hpp58780644editdlrm
use_default.hpp4540644editdlrm
use_default_tag.hpp7870644editdlrm
void.hpp9980644editdlrm
yesno.hpp15230644editdlrm
Edit: /usr/include/boost/parameter/aux_/default.hpp (2920B)
// Copyright Daniel Wallin, David Abrahams 2005. // Copyright Cromwell D. Enage 2017. // 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_DEFAULT_HPP #define BOOST_PARAMETER_AUX_DEFAULT_HPP namespace boost { namespace parameter { namespace aux { // A wrapper for the default value passed by the user when resolving // the value of the parameter with the given Keyword template struct default_ { inline BOOST_CONSTEXPR default_(Value& x) : value(x) { } Value& value; }; }}} // namespace boost::parameter::aux #include namespace boost { namespace parameter { namespace aux { // lazy_default -- A wrapper for the default value computation function // passed by the user when resolving the value of the parameter with the // given keyword. #if BOOST_WORKAROUND(__EDG_VERSION__, <= 300) // These compilers need a little extra help with overload resolution; // we have empty_arg_list's operator[] accept a base class // to make that overload less preferable. template struct lazy_default_base { inline BOOST_CONSTEXPR lazy_default_base(DefaultComputer& x) : compute_default(x) { } DefaultComputer& compute_default; }; template struct lazy_default : ::boost::parameter::aux::lazy_default_base { inline BOOST_CONSTEXPR lazy_default(DefaultComputer& x) : ::boost::parameter::aux::lazy_default_base(x) { } }; #else // !BOOST_WORKAROUND(__EDG_VERSION__, <= 300) template struct lazy_default { inline BOOST_CONSTEXPR lazy_default(DefaultComputer& x) : compute_default(x) { } DefaultComputer& compute_default; }; #endif // EDG workarounds needed. }}} // namespace boost::parameter::aux #if BOOST_WORKAROUND(__EDG_VERSION__, <= 300) #define BOOST_PARAMETER_lazy_default_fallback \ ::boost::parameter::aux::lazy_default_base /**/ #else #define BOOST_PARAMETER_lazy_default_fallback \ ::boost::parameter::aux::lazy_default /**/ #endif #if defined(BOOST_PARAMETER_HAS_PERFECT_FORWARDING) #include namespace boost { namespace parameter { namespace aux { template struct default_r_ { inline BOOST_CONSTEXPR default_r_(Value&& x) : value(::std::forward(x)) { } Value&& value; }; }}} // namespace boost::parameter::aux #endif // BOOST_PARAMETER_HAS_PERFECT_FORWARDING #endif // include guard