Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fold_left.hpp File Reference
#include <tlx/meta/index_sequence.hpp>
#include <tuple>
+ Include dependency graph for fold_left.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 tlx
 
 tlx::meta_detail
 

Functions

template<typename Reduce , typename Initial , typename... Args>
auto fold_left (Reduce &&r, Initial &&init, Args &&...args)
 
template<typename Reduce , typename Initial , typename Arg >
auto fold_left_impl (Reduce &&r, Initial &&init, Arg &&arg)
 helper for fold_left(): base case More...
 
template<typename Reduce , typename Initial , typename Arg , typename... MoreArgs>
auto fold_left_impl (Reduce &&r, Initial &&init, Arg &&arg, MoreArgs &&...rest)
 helper for fold_left(): general recursive case More...