Skip to content

Glossary: C++ Basics

std::vector

Also written: vector

The most-used container: values of one type in order, in a list that grows with `push_back`. `[i]` doesn't check the index, but `.at(i)` does.

Where the book teaches it

Related terms

ContainerRange-based forstd::array