|
|
|
|
|
by kllrnohj
1300 days ago
|
|
std::mem_fn will effectively give you the underlying function that takes a pointer. Strictly speaking mem_fn is defined to generate the wrapper function, but in practice the optimizer is just going to strip that away and call the name-mangled function directly. Example: https://godbolt.org/z/6Y1raxMce |
|