Daniel Frey <[EMAIL PROTECTED]> 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost