boost::urls::grammar::recycled_ptr::recycled_ptr

Constructor

Synopsis

Declared in <boost/url/grammar/recycled.hpp>
recycled_ptr(std::nullptr_t value) noexcept;


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.

Parameters

Name Description
value The object to construct from

See Also

acquire, recycled, release.

Created with MrDocs