Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 20a7dc9240.
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->bin() == &other->bin() && this->get() == other.get()
Exception Safety

Throws nothing.

Parameters

Name

Description

other

The pointer to copy


PrevUpHomeNext