Boost logo

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:

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?


Boost list run by bdawes at, gregod at, cpdaniel at, john at