recycled_ptr

Constructor

Synopsis

recycled_ptr(nullptr_t) noexcept;

Declared in file <include/boost/url/grammar/recycled.hpp> on line 301

Defined in file <include/boost/url/grammar/impl/recycled.hpp> on line 128

Description

After construction, this is empty and refers to a global recycle bin.

Example

recycled_ptr< std::string > ps( nullptr );

// Acquire a string and put it into a known state
ps->acquire();
ps->clear();

Postconditions

&this->bin() != nullptr && this->empty()

Exception Safety

Throws nothing.