| Home | Libraries | People | FAQ | More

###### array::array (2 of 11 overloads)

Constructor.

<h7> Synopsis </h7>

    array(
        storage_ptr sp);

<h7> Description </h7>

The constructed array is empty with zero capacity, using the specified memory resource.

<h7> Complexity </h7>

Constant.

<h7> Exception Safety </h7>

No-throw guarantee.

<h7> Parameters </h7>

Name | Description
--- | ---
`sp` | A pointer to the `memory_resource` to use. The container will acquire shared ownership of the memory resource.