Function Subspace :: sus :: fn :: call

template <class F, class... Args>
auto call(F&& f, Args&&... args) -> decltype(auto)

Invokes the Fn, passing any given arguments along, and returning the result.

This function is like std::invoke but it provides the following additional guiderails:

  • Verifies that the thing being invoked is called as a const lvalue so that the correct overload will be invoked.