Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
grammar::recycled_ptr::recycled_ptr (6 of 6 overloads)

Constructor.

Synopsis
recycled_ptr(
    recycled_ptr&& other);
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.

Postconditions
&this->[link url.ref.boost__urls__grammar__recycled_ptr.bin `bin`]() == &other->bin() && ! this->[link url.ref.boost__urls__grammar__recycled_ptr.empty `empty`]() && other.empty()
Exception Safety

Throws nothing.

Parameters

Name

Description

other

The pointer to move from


PrevUpHomeNext