scenario_simulator_v2 C++ API
Namespaces | Functions
fold.hpp File Reference
#include <functional>
#include <utility>
Include dependency graph for fold.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 openscenario_interpreter
 
 openscenario_interpreter::functional
 

Functions

template<typename F , typename T >
constexpr decltype(auto) openscenario_interpreter::functional::fold_left (F &&, T &&x)
 
template<typename F , typename T , typename U , typename... Ts>
constexpr decltype(auto) openscenario_interpreter::functional::fold_left (F &&f, T &&x, U &&y, Ts &&... xs)
 
template<typename F , typename T >
constexpr decltype(auto) openscenario_interpreter::functional::fold_right (F &&, T &&x)
 
template<typename F , typename T , typename... Ts>
constexpr decltype(auto) openscenario_interpreter::functional::fold_right (F &&f, T &&x, Ts &&... xs)
 
template<typename... Ts>
constexpr auto openscenario_interpreter::functional::fold (Ts &&... xs) -> decltype(auto)