23 General utilities library [utilities]

23.14 Function objects [function.objects]

23.14.4 Function template invoke [func.invoke]

template<class F, class... Args> invoke_result_t<F, Args...> invoke(F&& f, Args&&... args) noexcept(is_nothrow_invocable_v<F, Args...>);
Returns: INVOKE(std​::​forward<F>(f), std​::​forward<Args>(args)...).