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

Assignment

Synopsis

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

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

Description

If other references an object, ownership is transferred including a reference to the recycle bin. After the move, the moved-from object is empty.

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

Throws nothing.

Parameters

Name Description

other

The pointer to move from