
std::vector - cppreference.com
std::vector (for T other than bool) meets the requirements of Container, AllocatorAwareContainer(since C++11), SequenceContainer, …
std::vector<T,Allocator>::vector - cppreference.com
Constructs a new vector from a variety of data sources, optionally using a user supplied allocator alloc.
std::vector<bool> - cppreference.com
std:: vector <bool> is a possibly space-efficient specialization of std::vector for the type bool. The manner in which std:: vector <bool> …
std::vector<T,Allocator>::~vector - cppreference.com
Destroys the vector. The destructors of the elements are called (in unspecified order) and the dynamically allocated storage (if any) …
operator==,!=,<,<=,>,>=,<=> (std::vector) - cppreference.com
Compares the contents of two vector s. 1,2) Checks if the contents of lhs and rhs are equal, that is, they have the same number of …
std::erase, std::erase_if (std::vector) - cppreference.com
auto it = std::remove(c.begin(), c.end(), value); auto r = c.end() - it; c.erase(it, c.end()); return r;
std::vector<T,Allocator>::erase - cppreference.com
Iterators (including the end() iterator) and references to the elements at or after the point of the erase are invalidated. The iterator …
Standard library header <vector> - cppreference.com
namespace std { template<class Allocator> class vector<bool, Allocator> { public: // types using value_type = bool; using …
std::vector<T,Allocator>::operator [] - cppreference.com
The following code uses operator[] to read from and write to a std::vector<int>:
std::vector<T,Allocator>::reserve - cppreference.com
Increase the capacity of the vector (the total number of elements that the vector can hold without requiring reallocation) to a value …