...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructor.
array( std::initializer_list< value_ref > init, storage_ptr sp = {});
The array is constructed with a copy of the values in the initializer-list in order, using the specified memory resource.
Linear in init.size()
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The initializer list to insert |
|
A pointer to the |