Home | Libraries | People | FAQ | More |
Constructor.
recycled_ptr( recycled< T >& bin, std::nullptr_t);
After construction, this will be empty and refer to the specified recycle bin.
static recycled< std::string > bin; recycled_ptr< std::string > ps( bin, nullptr ); // Acquire a string and put it into a known state ps->acquire(); ps->clear();
&this->bin() == &bin && this->empty()
Throws nothing.
Name |
Description |
---|---|
|
The recycle bin to use |