Here's how to make the jump from simple lines of code to something that's a lot more useful. After reading countless blogs online, purging through hundreds of pages of books, you feel comfortable ...
So I've used <I>plenty</I> of STL functions which takes functors as parameters. For calculating set differences, for sorting vectors, etc. I'm in a situation where I'd like to write such a function ...