|
explicit |
Constructor creating a vector of a given size. .
| count | The required size of the vector. |
| allocator | A custom allocator used by the created vector to manage heap memory. |
To prevent the vector from initializing default-constructible elements and only perform the necessary allocation, use a different constructor.