|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-04-24 07:19:36
Daniel Frey <daniel.frey_at_[hidden]> writes:
> my_list.sort( shared_ptr_content_less< my_list >() );
That should be
my_list.sort( shared_ptr_content_less<foo>() );
or you can do it the easy way using the Boost.Lambda library:
my_list.sort(*_1 < *_2);
Regards,
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk