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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
value::value (2 of 35 overloads)

Constructor.

Synopsis
value(
    storage_ptr sp);
Description

The constructed value is null, using the specified memory_resource.

Complexity

Constant.

Exception Safety

No-throw guarantee.

Parameters

Name

Description

sp

A pointer to the memory_resource to use. The container will acquire shared ownership of the memory resource.


PrevUpHomeNext