std::experimental::ranges::invoke (3) Linux Manual Page
std::experimental::ranges::invoke – std::experimental::ranges::invoke
Synopsis
Defined in header<experimental / ranges / functional>
template <class F, class... Args>
(ranges TS)
std::result_of_t<F && (Args && ...)> invoke(F &&f, Args &&...args);
Invoke the Callable object f with the parameters args, and return the result, as if by return INVOKE(std::forward<F>(f), std::forward<Args>(args)...);
, where INVOKE(f, t1, t2, ..., tN)
is defined as follows:
* if f is a pointer_to_member_function of class T:
* otherwise, if N == 1 and f is a pointer_to_data_member of class T:
* otherwise, INVOKE(f, t1, t2, …, tN) is equivalent to f(t1, t2, …, tN) (that is, f is a FunctionObject)
Parameters
f – Callable object to be invoked
args – arguments to pass to f
See also
invoke invokes any Callable object with given arguments
(C++17)
