Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-06-21 23:17:58


Vincent Poinot wrote:
> As you can see, the available comparison function objects operates on
> objects X, the deref() helper function creates a new function object that
> will call the original less<>() after dereferencing its arguments, allowing
> sort() to work as expected.

It seems boost::indirect_fun?
http://www.boost.org/libs/ptr_container/doc/indirect_fun.html

-- 
Shunsuke Sogame

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk