...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Constructor.
object( std::size_t min_capacity, storage_ptr sp = {});
The constructed object is empty with capacity equal to the specified minimum capacity, using the specified memory resource.
Constant.
Strong guarantee. Calls to memory_resource::allocate
may throw.
Name |
Description |
---|---|
|
The minimum number of elements for which capacity is guaranteed without a subsequent reallocation. |
|
A pointer to the |