This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites.
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 ...