KUMI
v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches
◆
invoke_r()
template<typename R, typename C, typename... Ts>
requires (std::is_invocable_r_v<R, C, Ts...>)
R kumi::invoke_r
(
C &&
c
,
Ts &&...
ts
)
inline
constexpr
noexcept
Invoke the Callable object c with a pack of arguments with return type R.
Template Parameters
R
the return type of the callable
Parameters
c
Callable object to be invoked
ts
elements to be used as arguments to c
Returns
The value returned by c with type R.
Note
Replaces std::invoke_r to avoid depending on
Helper Types and function
.
kumi