|
Boost : |
Subject: [boost] shared_ptr ordering
From: Matt Bergin (mattbergin0_at_[hidden])
Date: 2013-04-22 14:07:04
Back in 2008, changing shared_ptr operator< to compare by pointer value
rather than owner was discussed:
http://lists.boost.org/Archives/boost/2008/10/143175.php
There seem to be convincing arguments for both implementations (aliasing,
consistency with equality operator etc).
Is boost::shared_ptr intended to be a compliant C++11 std::shared_ptr? If
so, will shared_ptr be changed to comply with [util.smartptr.shared.cmp] or
is the ensuing breakage too high a price to pay for 100% compliance?
Thanks
Matt
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk