News for hackers. Stuff that matters.
Re:Const vs. constexpr vs. consteval vs. constinit in C++20 by Matheus28 on Tuesday November 29, 2022 @03:10AM (#33784898)
You can just use member function pointers without the wrapper. The syntax for calling them is a bit uglier though.
Re:Const vs. constexpr vs. consteval vs. constinit in C++20 by kllrnohj on Thursday December 01, 2022 @04:49PM (#33823370)
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.