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
explicit
object(
    storage_ptr sp) noexcept;
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 boost::container::pmr::memory_resource to use. The container will acquire shared ownership of the memory resource.


PrevUpHomeNext