|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-07-10 16:52:45
Daryle Walker wrote:
> Looking at <http://www.boost.org/libs/smart_ptr/shared_ptr.htm>, i.e.
> the Boost version, it seems that the authors fell into the "fake
> operator <" trap. If any of those authors are reading this, can you
> tell us why you added the fake operator instead of a custom-named
> comparison class?
shared_ptr defines operator< for map<shared_ptr<>, V> to work. What do you
mean by "fake"?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk