[func.memfn]

# 22 General utilities library [[utilities]](./#utilities)

## 22.10 Function objects [[function.objects]](function.objects#func.memfn)

### 22.10.16 Function template mem_fn [func.memfn]

[ð](#lib:mem_fn)

`template<class R, class T> constexpr unspecified mem_fn(R T::* pm) noexcept;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/utilities.tex#L13578)

*Returns*: A simple call wrapper ([[func.require]](func.require#term.simple.call.wrapper "22.10.4 Requirements")) 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]](expr.call "7.6.1.3 Function call")) of fn[.](#1.sentence-1)
