...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::size_t count, value const& v, storage_ptr sp = {});
The array is constructed with count
copies of the value v
,
using the specified memory resource.
Linear in count
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The number of copies to insert. |
|
The value to be inserted. |
|
A pointer to the |