Standard library header <vector>
From cppreference.com
This header is part of the containers library.
Includes | |
(C++20) |
Three-way comparison operator support |
(C++11) |
std::initializer_list class template |
Classes | |
| resizable contiguous array (class template) | |
| space-efficient dynamic bitset (class template specialization) | |
(C++11) |
hash support for std::vector<bool> (class template specialization) |
Forward declarations | |
Defined in header
<functional> | |
(C++11) |
hash function object (class template) |
Functions | |
(removed in C++20)(removed in C++20)(removed in C++20)(removed in C++20)(removed in C++20)(C++20) |
lexicographically compares the values of two vectors (function template) |
| specializes the std::swap algorithm (function template) | |
| erases all elements satisfying specific criteria (function template) | |
Range access | |
(C++11)(C++14) |
returns an iterator to the beginning of a container or array (function template) |
(C++11)(C++14) |
returns an iterator to the end of a container or array (function template) |
(C++14) |
returns a reverse iterator to the beginning of a container or array (function template) |
(C++14) |
returns a reverse end iterator for a container or array (function template) |
(C++17)(C++20) |
returns the size of a container or array (function template) |
(C++17) |
checks whether the container is empty (function template) |
(C++17) |
obtains the pointer to the underlying array (function template) |