tlx
Loading...
Searching...
No Matches
function_stack.hpp File Reference
#include <tlx/meta/index_sequence.hpp>
#include <tuple>

Go to the source code of this file.

Classes

class  FunctionStack< Input_, Functors >
 A FunctionStack is a chain of functor that can be folded to a single functor (which is usually optimize by the compiler). More...

Namespaces

namespace  tlx
namespace  tlx::meta_detail

Functions

template<typename Functor>
auto call_stack (const Functor &functor)
 Base case for the chaining of functors.
template<typename Functor, typename... MoreFunctors>
auto call_stack (const Functor &functor, const MoreFunctors &... rest)
 Recursive case for the chaining of functors.
template<typename Input, typename Functor>
static auto make_function_stack (const Functor &functor)
 Function-style construction of a FunctionStack.