std::experimental::ranges::invoke - cppreference.com (original) (raw)

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:

[edit] Parameters

f - Callable object to be invoked
args - arguments to pass to f

[edit] See also

| | invokes any Callable object with given arguments and possibility to specify return type(since C++23) (function template) [edit] | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |