Hacker News new | ask | show | jobs
by alexchamberlain 4928 days ago
I've recently discovered the delights of <algorithm>... now if I could just figure out how to bind member functions in my build environment (Solaris) I'd be a very happy man.
1 comments

You want either mem_fn (C++11) or mem_fun.

http://en.cppreference.com/w/cpp/utility/functional