tlx
fold_left_tuple.hpp File Reference
#include <tlx/meta/fold_left.hpp>
#include <tlx/meta/index_sequence.hpp>
#include <tuple>

Go to the source code of this file.

Namespaces

 tlx
 
 tlx::meta_detail
 

Functions

template<typename Reduce , typename Initial , typename Tuple , std::size_t... Is>
auto fold_left_tuple_impl (Reduce &&r, Initial &&init, Tuple &&t, index_sequence< Is... >)
 helper for fold_left_tuple: forwards tuple entries More...
 
template<typename Reduce , typename Initial , typename Tuple >
auto fold_left_tuple (Reduce &&r, Initial &&init, Tuple &&t)
 Implements fold_left() – ((a * b) * c) – with a binary Reduce operation and initial value on a tuple. More...