39 template <
typename unary_function_t,
typename ...args_t>
43 constexpr
void for_each_value(unary_function_t && fn, args_t && ...args)
45 [[maybe_unused]]
int r = (fn(std::forward<args_t>(args)), ..., 0);
67 template <
typename ...types,
typename unary_function_t>
71 constexpr
void for_each_type(unary_function_t && fn)
101 template <
template <
typename...>
typename type_list_t,
typename ...args_t,
typename unary_function_t>
105 constexpr
void for_each_type(unary_function_t && fn, type_list_t<args_t...> const & SEQAN3_DOXYGEN_ONLY(
type_list))
107 for_each_type<args_t...>(std::forward<unary_function_t>(fn));
Definition: aligned_sequence_concept.hpp:35
Provides C++20 additions to the type_traits header.
meta::list< types... > type_list
Type that contains multiple types, an alias for meta::list.
Definition: type_list.hpp:27
The identity transformation (a TransformationTrait that returns the input).
Definition: type_traits:30
Specifies whether the given callable is invocable with the given arguments.