BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
tuple_utility.hpp File Reference

Provides utility functions for tuple like interfaces. More...

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

Go to the source code of this file.

Namespaces

namespace  bio
 The main BioC++ namespace.
 
namespace  bio::meta
 The Meta module's namespace.
 

Functions

Tuple utility functions

Helper functions for tuple like objects.

template<tuple_like tuple_t>
constexpr auto bio::meta::tuple_pop_front (tuple_t &&t)
 Removes the first element of a tuple.
 
template<typename pivot_t , tuple_like tuple_t>
constexpr auto bio::meta::tuple_split (tuple_t &&t)
 Splits a tuple like data structure at the first position of the given type.
 
template<size_t pivot_c, template< typename... > typename tuple_t, typename... ts>
requires tuple_like<tuple_t<ts...>>
constexpr auto bio::meta::tuple_split (tuple_t< ts... > &&t)
 Splits a tuple like data structure at the given position.
 
template<size_t pivot_c, template< typename... > typename tuple_t, typename... ts>
requires tuple_like<tuple_t<ts...>>
constexpr auto bio::meta::tuple_split (tuple_t< ts... > const &t)
 Splits a tuple like data structure at the given position.
 

Detailed Description

Provides utility functions for tuple like interfaces.

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