Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-06-16 15:29:56


Elisha Berns wrote:
> Hi,
>
> My imagination fails me here:
>
> How can you use boost::mem_fn or boost::function to bind a class
> member function as a predicate function for use in std::sort? I
> tried this way and that and so far, nothing.

Please post a short example.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net