std::vec
vector is a contiguous growable array type
- You want to collect items up to be processed or sent elsewhere later, and
don't care about any properties of the actual values being stored.
- You want a sequence of elements in a particular order, and will only be
appending to (or near) the end.
- You want a stack.
- You want a resizable array.
- You want a heap-allocated array.