...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&& other);
If other
references an
object, ownership is transferred including a reference to the recycle
bin. After the move, the moved-from object is empty.
this->release()
&this->bin() == &other->bin()
Throws nothing.
Name |
Description |
---|---|
|
The pointer to move from |