/usr/include/boost/callable_traits/detail
NameSizeModeActions
polyfills/-0755rm
unguarded/-0755rm
config.hpp35490644editdlrm
core.hpp6260644editdlrm
default_callable_traits.hpp76660644editdlrm
forward_declarations.hpp14800644editdlrm
function.hpp68650644editdlrm
function_object.hpp34910644editdlrm
is_invocable_impl.hpp51110644editdlrm
parameter_index_helper.hpp18830644editdlrm
pmd.hpp15590644editdlrm
pmf.hpp36600644editdlrm
qualifier_flags.hpp47420644editdlrm
set_function_qualifiers.hpp63170644editdlrm
sfinae_errors.hpp34710644editdlrm
traits.hpp8230644editdlrm
utility.hpp33970644editdlrm
Edit: /usr/include/boost/callable_traits/detail/set_function_qualifiers.hpp (6317B)
/* @Copyright Barrett Adair 2015-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_CLBL_TRTS_DETAIL_SET_FUNCTION_QUALIFIERS_HPP #define BOOST_CLBL_TRTS_DETAIL_SET_FUNCTION_QUALIFIERS_HPP #include #define BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(QUAL) \ template \ struct set_function_qualifiers_t < \ flag_map::value, false, false, Return, Args...> { \ using type = Return(Args...) QUAL; \ }; \ \ template \ struct set_function_qualifiers_t < \ flag_map::value, true, false, Return, Args...> { \ using type = Return(Args...) QUAL \ BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER; \ }; \ \ template \ struct set_function_qualifiers_t < \ flag_map::value, false, true, Return, Args...> { \ using type = Return(Args...) QUAL \ BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER; \ }; \ \ template \ struct set_function_qualifiers_t < \ flag_map::value, true, true, Return, Args...> { \ using type = Return(Args...) QUAL \ BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER \ BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER; \ }; \ \ template \ struct set_varargs_function_qualifiers_t < \ flag_map::value, false, false, Return, Args...> { \ using type = Return(Args..., ...) QUAL; \ }; \ \ template \ struct set_varargs_function_qualifiers_t < \ flag_map::value, true, false, Return, Args...> { \ using type = Return(Args..., ...) QUAL \ BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER; \ }; \ \ template \ struct set_varargs_function_qualifiers_t < \ flag_map::value, false, true, Return, Args...> { \ using type = Return(Args..., ...) QUAL \ BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER; \ }; \ \ template \ struct set_varargs_function_qualifiers_t < \ flag_map::value, true, true, Return, Args...> { \ using type = Return(Args..., ...) QUAL \ BOOST_CLBL_TRTS_TRANSACTION_SAFE_SPECIFIER \ BOOST_CLBL_TRTS_NOEXCEPT_SPECIFIER; \ } \ /**/ namespace boost { namespace callable_traits { namespace detail { template struct set_function_qualifiers_t { using type = Return(Args...); }; template struct set_varargs_function_qualifiers_t { using type = Return(Args..., ...); }; #ifndef BOOST_CLBL_TRTS_DISABLE_ABOMINABLE_FUNCTIONS BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(const); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(volatile); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(const volatile); #ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(&); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(&&); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(const &); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(const &&); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(volatile &); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(volatile &&); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(const volatile &); BOOST_CLBL_TRTS_SET_FUNCTION_QUALIFIERS(const volatile &&); #endif // #ifndef BOOST_CLBL_TRTS_DISABLE_REFERENCE_QUALIFIERS #endif // #ifndef BOOST_CLBL_TRTS_DISABLE_ABOMINABLE_FUNCTIONS template using set_function_qualifiers = typename set_function_qualifiers_t::type; template using set_varargs_function_qualifiers = typename set_varargs_function_qualifiers_t::type; }}} // namespace boost::callable_traits::detail #endif //BOOST_CLBL_TRTS_DETAIL_SET_FUNCTION_QUALIFIERS_HPP