Boost
C++ Libraries
...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( std::nullptr_t);
After construction, this is empty and refers to a global recycle bin.
recycled_ptr< std::string > ps( nullptr ); // Acquire a string and put it into a known state ps->acquire(); ps->clear();
&this->bin() != nullptr && this->empty()
Throws nothing.