KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches

◆ invoke()

template<typename C, typename... Ts>
decltype(auto) kumi::invoke ( C && c,
Ts &&... ts )
inlineconstexpr

Invoke the Callable object c with a pack of arguments.

Parameters
cCallable object to be invoked
tselements to be used as arguments to c
Returns
The value returned by c.
Note
Replaces std::invoke to avoid depending on Helper Types and function.