recycled_ptr

Constructor

Synopsis

recycled_ptr(const recycled_ptr& other) noexcept;

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

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

Description

If other references an object, the newly constructed pointer acquires shared ownership. Otherwise this is empty. The new pointer references the same recycle bin as other.

Postconditions

&this->bin() == &other->bin() && this->get() == other.get()

Exception Safety

Throws nothing.