#include <Functional.h>
Classes | |
struct | Overload |
struct | Overload< T > |
struct | Overload< T, Ts... > |
struct | Recursive |
Static Public Member Functions | |
template<typename... FuncTs> | |
static auto | MakeOverload (FuncTs &&... fs) |
Creates an "overloaded callable object" out of one or more callable objects, each callable object will contribute with an overload of operator(). More... | |
template<typename FuncT > | |
static auto | MakeRecursive (FuncT &&func) |
Creates a recursive callable object, where the itself is passed as first argument to func. More... | |
template<typename... FuncTs> | |
static auto | MakeRecursiveOverload (FuncTs &&... fs) |
Definition at line 13 of file Functional.h.
|
inlinestatic |
Creates an "overloaded callable object" out of one or more callable objects, each callable object will contribute with an overload of operator().
Use case: combine several lambdas into a single lambda.
Definition at line 27 of file Functional.h.
Referenced by FCarlaServer::FPimpl::BindActions(), and MakeRecursiveOverload().
|
inlinestatic |
Creates a recursive callable object, where the itself is passed as first argument to func.
Use case: create recursive lambda.
Definition at line 19 of file Functional.h.
Referenced by MakeRecursiveOverload().
|
inlinestatic |
Definition at line 33 of file Functional.h.
References MakeOverload(), and MakeRecursive().
Referenced by FCarlaServer::FPimpl::BindActions().