18 template <
typename FuncT>
26 template <
typename... FuncTs>
28 return Overload<FuncTs...>(std::forward<FuncTs>(fs)...);
32 template <
typename... FuncTs>
39 template <
typename... Ts>
42 template <
typename T,
typename... Ts>
45 : T(
std::forward<T>(func)),
65 template<
typename... Ts>
67 return _func(*
this, std::forward<Ts>(arguments)...);
static auto MakeRecursive(FuncT &&func)
Creates a recursive callable object, where the itself is passed as first argument to func...
static auto MakeRecursiveOverload(FuncTs &&... fs)
This file contains definitions of common data structures used in traffic manager. ...
auto operator()(Ts &&... arguments) const
Overload(T &&func, Ts &&... rest)
static auto MakeOverload(FuncTs &&... fs)
Creates an "overloaded callable object" out of one or more callable objects, each callable object wil...