Y
Hacker News
new
|
ask
|
show
|
jobs
by
Matheus28
1294 days ago
You can just use member function pointers without the wrapper. The syntax for calling them is a bit uglier though.
1 comments
kllrnohj
1292 days ago
Yup, but then the call syntax is different so it fails to achieve the "Universal Function Call Syntax" that OP was asking for which std::mem_fn provides.
link