
15 Sep
2005
15 Sep
'05
4:04 p.m.
Sam Partington <sam.partington <at> gmail.com> writes:
This functionality is already available in <boost/utility/compare_pointees.hpp>. There are two functions, equal_pointees() and less_pointees(), and two corresponding classes, equal_pointees_t and less_pointees_t.
Perhaps it should be documented in the utility library, or the smart_ptr library?
http://www.boost.org/libs/ptr_container/doc/indirect_fun.html might be useful too. br -Thorsten