patch for owner_before and owner_less support with shared_ptr/weak_ptr
I'm attaching files that add owner_before members to shared_ptr and weak_ptr, and add a boost::owner_less class that supports boost::shared_ptr and weak_ptr as described in n2637. There is also a test program for owner_less. These patches do NOT change the semantics of operator<(), as that would break a lot of code. It merely makes it easier to write code that will be portable across boost::shared_ptr and std::shared_ptr.
Change History
(7)
Milestone: |
Boost 1.38.0 → To Be Determined
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
patch which adds owner_before members to shared_ptr and weak_ptr