News for hackers. Stuff that matters.
Re:Pointers to Members in C++ by au750 on Friday November 29, 2019 @02:59AM (#21662858)
If you are not restricted to C++98 or older, you could pass a lambda to getDimensionSum() and spare you having to use method pointers.