kumi
v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches
◆
invoke()
template<typename C , typename... Ts>
requires (std::is_invocable<C, Ts...>::value)
constexpr decltype(auto) kumi::invoke
(
C &&
c
,
Ts &&...
ts
)
inline
constexpr
noexcept
Invoke the Callable object c with a pack of arguments.
Parameters
c
Callable object to be invoked
ts
elements to be used as arguments to c
Returns
The value returned by c.
Note
Replaces std::invoke to avoid depending on
functional
.
kumi