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

PrevUpHomeNext
object::object (2 of 11 overloads)

Constructor.

Synopsis
object(
    storage_ptr sp);
Description

The constructed object is empty with zero capacity, 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