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 develop branch, built from commit d17a394865.
PrevUpHomeNext
storage_ptr::storage_ptr (5 of 5 overloads)

Copy constructor.

Synopsis
storage_ptr(
    storage_ptr const& other) noexcept;
Description

This function constructs a pointer that points to the same memory resource as other, with the same ownership:

Complexity

Constant.

Exception Safety

No-throw guarantee.

Parameters

Name

Description

other

The pointer to construct from.


PrevUpHomeNext