SeqAn3 3.1.0-rc.2
The Modern C++ library for sequence analysis.
pack_algorithm.hpp File Reference

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

+ Include dependency graph for pack_algorithm.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  seqan3::detail::type_list_expander< type_list_t< args_t... > >
 Helper class to invoke a meta algorithm on the types contained in a seqan3::type_list. More...
 

Namespaces

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

Functions

template<typename type_list_t , typename unary_predicate_t >
constexpr bool seqan3::detail::all_of (unary_predicate_t &&fn)
 Tests whether a given predicate evaluates to true for each type in a seqan3::type_list. More...
 
template<typename unary_predicate_t , typename ... 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. More...
 
template<typename type_list_t , typename unary_function_t >
constexpr void seqan3::detail::for_each (unary_function_t &&fn)
 Applies a function element wise to all types of a type list. More...
 
template<typename unary_function_t , typename ... 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. More...
 

Detailed Description

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

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