carl  24.04
Computer ARithmetic Library
tuple_util.h File Reference
#include <tuple>
Include dependency graph for tuple_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  carl::tuple_convert< Converter, Information, FOut, TOut >
 
class  carl::tuple_convert< Converter, Information, Out >
 
struct  carl::detail::tuple_accumulate_impl< Tuple, T, F >
 Helper functor for carl::tuple_accumulate that actually does the work. More...
 

Namespaces

 carl
 carl is the main namespace for the library.
 
 carl::detail
 

Functions

template<typename Tuple1 , typename Tuple2 , std::size_t... I1, std::size_t... I2>
auto carl::detail::tuple_cat_impl (Tuple1 &&t1, Tuple2 &&t2, std::index_sequence< I1... >, std::index_sequence< I2... >)
 Helper method for carl::tuple_apply that actually performs the call. More...
 
template<typename Tuple1 , typename Tuple2 >
auto carl::tuple_cat (Tuple1 &&t1, Tuple2 &&t2)
 
template<typename Tuple , std::size_t... I>
auto carl::detail::tuple_tail_impl (Tuple &&t, std::index_sequence< I... >)
 Helper method for carl::tuple_tail that actually performs the call. More...
 
template<typename Tuple >
auto carl::tuple_tail (Tuple &&t)
 Returns a new tuple containing everything but the first element. More...
 
template<typename F , typename Tuple , std::size_t... I>
auto carl::detail::tuple_apply_impl (F &&f, Tuple &&t, std::index_sequence< I... >)
 Helper method for carl::tuple_apply that actually performs the call. More...
 
template<typename F , typename Tuple >
auto carl::tuple_apply (F &&f, Tuple &&t)
 Invokes a callable object f on a tuple of arguments. More...
 
template<typename F , typename Tuple , std::size_t... I>
auto carl::detail::tuple_foreach_impl (F &&f, Tuple &&t, std::index_sequence< I... >)
 Helper method for carl::tuple_foreach that actually does the work. More...
 
template<typename F , typename Tuple >
auto carl::tuple_foreach (F &&f, Tuple &&t)
 Invokes a callable object f on every element of a tuple and returns a tuple containing the results. More...
 
template<typename Tuple , typename T , typename F >
carl::tuple_accumulate (Tuple &&t, T &&init, F &&f)
 Implements a functional fold (similar to std::accumulate) for std::tuple. More...
 

Detailed Description