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 e83975fcee.
PrevUpHomeNext
array::array (2 of 11 overloads)

Constructor.

Synopsis
array(
    storage_ptr sp);
Description

The constructed array 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