SeqAn3 3.4.0-rc.1
The Modern C++ library for sequence analysis.
Loading...
Searching...
No Matches
type_pack_algorithm.hpp File Reference

Provides algorithms for meta programming, parameter packs and seqan3::type_list. More...

#include <concepts>
#include <type_traits>
#include <utility>
#include <seqan3/core/platform.hpp>
+ Include dependency graph for type_pack_algorithm.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  seqan3
 The main SeqAn3 namespace.
 
namespace  seqan3::detail
 The internal SeqAn3 namespace.
 

Functions

template<typename unary_predicate_t , typename... pack_t>
requires (std::predicate<unary_predicate_t, pack_t> && ...)
constexpr bool seqan3::detail::all_of (unary_predicate_t &&fn, pack_t &&... args)
 Tests whether a given predicate evaluates to true for each element in the function parameter pack.
 
template<typename unary_function_t , typename... pack_t>
requires (std::invocable<unary_function_t, pack_t> && ...)
constexpr void seqan3::detail::for_each (unary_function_t &&fn, pack_t &&... args)
 Applies a function to each element of the given function parameter pack.
 

Detailed Description

Provides algorithms for meta programming, parameter packs and seqan3::type_list.

Author
Rene Rahn <rene.rahn AT fu-berlin.de>
Hide me