...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Assignment.
array& operator=( std::initializer_list< value_ref > init);
The contents of the array are replaced with a copy of the values in the initializer-list.
Linear in this->size()
plus init.size()
.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The initializer list to copy. |