Files
2025-10-25 03:02:53 +03:00

831 B
Raw Permalink Blame History

[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;

1

#

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.