831 B
831 B
[func.memfn]
22 General utilities library [utilities]
22.10 Function objects [function.objects]
22.10.16 Function template mem_fn [func.memfn]
template<class R, class T> constexpr unspecified mem_fn(R T::* pm) noexcept;
Returns: A simple call wrapper ([func.require]) fn with call pattern invoke(pmd, call_args...), wherepmd is the target object of fn of type R T::* direct-non-list-initialized with pm, andcall_args is an argument pack used in a function call expression ([expr.call]) of fn.