Constructor

Synopsis

Declared in header </boost/url/grammar/recycled.hpp#L322[boost/url/grammar/recycled.hpp,window=blank_]>

recycled_ptr(const recycled_ptr& other) noexcept;

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.

Return Value

  • void

Parameters

Name Type

other

``