/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/parameter_index_helper.hpp (1883B)
#ifndef BOOST_CLBL_TRTS_PARAMETER_INDEX_HELPER_HPP #define BOOST_CLBL_TRTS_PARAMETER_INDEX_HELPER_HPP #include namespace boost { namespace callable_traits { namespace detail { template struct parameter_index_helper { using error_t = error_type; using args_tuple = typename std::conditional::non_invoke_arg_types, typename detail::traits::arg_types>::type; static constexpr bool has_parameter_list = !std::is_same::value && !std::is_same::value; using temp_tuple = typename std::conditional>::type; static constexpr std::size_t parameter_list_size = std::tuple_size::value; static constexpr bool is_out_of_range = has_parameter_list && I >= parameter_list_size + static_cast(AllowPlus1); static constexpr bool is_count_out_of_range = has_parameter_list && I + Count > parameter_list_size + static_cast(AllowPlus1); static constexpr std::size_t index = has_parameter_list && !is_out_of_range ? I : 0; static constexpr std::size_t count = has_parameter_list && !is_count_out_of_range ? Count : 0; using permissive_tuple = typename std::conditional< has_parameter_list && !is_out_of_range, args_tuple, std::tuple>::type; using permissive_function = typename std::conditional< has_parameter_list && !is_out_of_range, T, error_t(error_t)>::type; }; }}} // namespace boost::callable_traits::detail #endif // #ifndef BOOST_CLBL_TRTS_PARAMETER_INDEX_HELPER_HPP