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