Boost C++ Libraries Home Libraries People FAQ More

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

Constructor.

Synopsis
recycled_ptr(
    recycled_ptr const& other);
Description

If other references an object, the newly constructed pointer acquires shared ownership. Otherwise this is empty. The new pointer references the same recycle bin as other.

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

Throws nothing.

Parameters

Name

Description

other

The pointer to copy


PrevUpHomeNext