operator=

Assignment

Synopsis

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

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

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

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.

Effects

this->release()

Postconditions

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

Exception Safety

Throws nothing.