std::vector
std::vector
Defined in header <vector> | ||
---|---|---|
template< class T, class Allocator = std::allocator<T> > class vector; | (1) | |
namespace pmr { template <class T> using vector = std::vector<T, std::pmr::polymorphic_allocator<T>>; } | (2) | (since C++17) |
1)
std::vector
is a sequence container that encapsulates dynamic size arrays.
2)
std::pm