ΒΆtemplate <class F, class... Args>
inline constexpr decltype(auto) call_mut(
    F&& f,
    Args&&... args)

Description

Invokes the [`FnMut`]($sus::fn::FnMut), passing any given arguments along, and returning the result. This function is like [`std::invoke`](https://en.cppreference.com/w/cpp/utility/functional/invoke) but it provides the following additional guiderails: * Verifies that the thing being invoked is called as a mutable lvalue so that the correct overload will be invoked.

Declared at: sus/fn/fn_concepts.h:447

Templates

F
Args

Parameters

F&& f
Args&&... args