...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Assignment.
recycled_ptr& operator=( recycled_ptr const& other);
If other
references an
object, this acquires shared ownership and references the same recycle
bin as other
. The previous
object if any is released.
this->release()
&this->bin() == &other->bin() && this->get() == other.get()
Throws nothing.
Name |
Description |
---|---|
|
The pointer to copy from |