template <typename F, typename... Ts>
constexpr
typename util::invoke_result<F, Ts...>::type
invoke(F&& f, Ts&&... vs)
template <typename F, typename... Ts>
constexpr
typename util::invoke_result<F, Ts...>::type
invoke(F&& f, Ts&&... vs)Description
Invokes the given callable object f with the content of the argument pack vs
Declared at: libs/pika/functional/include/pika/functional/invoke.hpp:39
Parameters
- F&& f
- Requires to be a callable object. If f is a member function pointer, the first argument in the pack will be treated as the callee (this object).
- Ts&&... vs
- An arbitrary pack of arguments
Returns
The result of the callable object when it's called with the given argument types.