mirror of
https://github.com/boostorg/smart_ptr.git
synced 2026-01-31 02:29:17 +01:00
fbc6919eae7bbdc0a4b8924ebcc582c6df782102
It is adopted from n2351 "Improving shared_ptr for C++0x, Revision 2". Also includes some minor corrections. Refs #1897 [SVN r51699]
De-optimize assignment into this_type(r).swap(*this) - turns out that they were not equivalent, leading to leaks in contrived cases. Refs #2813.
Description
Boost.org smart_ptr module
Languages
C++
99.5%
CMake
0.3%