55template <
typename unary_predicate_t,
typename... pack_t>
56 requires (std::predicate<unary_predicate_t, pack_t> && ...)
57constexpr bool all_of(unary_predicate_t && fn, pack_t &&... args)
59 return (fn(std::forward<pack_t>(args)) && ...);
93template <
typename unary_function_t,
typename... pack_t>
94 requires (std::invocable<unary_function_t, pack_t> && ...)
95constexpr void for_each(unary_function_t && fn, pack_t &&... args)
97 (fn(std::forward<pack_t>(args)), ...);
constexpr bool all_of(unary_predicate_t &&fn)
Tests whether a given predicate evaluates to true for each type in a seqan3::type_list.
Definition type_list_algorithm.hpp:107
constexpr void for_each(unary_function_t &&fn)
Applies a function element wise to all types of a type list.
Definition type_list_algorithm.hpp:157
The internal SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26