15 #ifndef OPENSCENARIO_INTERPRETER__FUNCTIONAL__CURRY_HPP_
16 #define OPENSCENARIO_INTERPRETER__FUNCTIONAL__CURRY_HPP_
23 auto curry2(F && f) -> decltype(
auto)
25 return [f](
auto &&...
xs) {
26 return [f,
xs = std::make_tuple(std::forward<decltype(
xs)>(
xs)...)](
auto &&... ys) {
29 return f(std::forward<decltype(
xs)>(
xs)..., std::forward<decltype(ys)>(ys)...);
auto curry2(F &&f) -> decltype(auto)
Definition: curry.hpp:23
Definition: junit5.hpp:25