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