Assignment

Synopsis

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

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.

Effects

this->release()

Postconditions

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

Exception Safety

Throws nothing.

Return Value

  • ``

Parameters

Name Type

other

``