boost::urls::grammar::recycled_ptr::operator=

Assignment

Synopsis

Declared in header <boost/url/grammar/recycled.hpp>

recycled_ptr&
operator=(recycled_ptr const& other) noexcept;

Description

If other references an object, this acquires shared ownership and references the same recycle bin as other. The previous object if any is released.

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

Throws nothing.

Parameters

Name Description

other

The pointer to copy from