![]() |
Home | Libraries | People | FAQ | More |
Constructor.
template< class InputIt> array( InputIt first, InputIt last, storage_ptr sp = {});
The array is constructed with the elements in the range {first, last), preserving order, using the specified
memory resource.
std::is_constructible_v<value, std::iterator_traits<InputIt>::reference>
Linear in std::distance(first, last)
Strong guarantee. Calls to memory_resource::allocate
may throw.
|
Name |
Description |
|---|---|
|
|
An input iterator pointing to the first element to insert, or pointing to the end of the range. |
|
|
An input iterator pointing to the end of the range. |
|
|
A pointer to the |
|
Type |
Description |
|---|---|
|
|
a type satisfying the requirements of InputIterator. |