| Home | Libraries | People | FAQ | More

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

Copy constructor.

<h7> Synopsis </h7>

    array(
        array const& other);

<h7> Description </h7>

The array is constructed with a copy of the contents of `other`, using `other`'s memory resource.

<h7> Complexity </h7>

Linear in `other.size()`.

<h7> Exception Safety </h7>

Strong guarantee. Calls to `memory_resource::allocate` may throw.

<h7> Parameters </h7>

Name | Description
--- | ---
`other` | The array to copy