omw
0.2.1-beta
|
Public Member Functions | |
vector (size_type count) | |
vector (size_type count, const T &value) | |
vector (const T *first, const T *last) | |
vector (std::initializer_list< T > init) | |
vector (const std::vector< T, Allocator > &other) | |
bool | contains (const T &item) const |
void | reserveAdd (size_type additionalCapacity) |
Static Public Attributes | |
static constexpr size_type | maxsz = static_cast<size_type>(-1) |
A with std::vector
interchangeable class to add more functionalities. This class does not override/implement any (virtual) methods of the base class and has no attributes. It's basically a std::vector
with some more methods.
|
inline |
Reserves additional memory.
this->reserve(this->size() + addCap)
See std::vector<T,Allocator>::reserve
and std::vector<T,Allocator>::size
.