| sbo_vector | ( | std::size_t | count, |
| const ElementType & | val, | ||
| const Allocator & | allocator = Allocator() |
||
| ) |
Constructor initializing the created vector with copies of a value. .
| count | A number of elements to place to the created vector. |
| val | A value whose copies initialize the elements of the created vector using copy-construction. |
| allocator | A custom allocator used by the created vector to manage heap memory. |
To prevent the vector from initializing elements and only perform the necessary memory allocation, use a different constructor.