
22 Jun
2007
22 Jun
'07
3:17 a.m.
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