std::mem_fun vs std::mem_fn

Viewed 10233

What is the difference between std::mem_fun and std::mem_fn? Why is the naming so confusing?

Boost's documentation says that std::mem_fn can replace std::mem_fun in most cases. So in what situation would you still use std::mem_fun?

1 Answers
Related