DEV Community

Discussion on: C++: A concise introduction to Arrays

Collapse
 
huncyrus profile image
huncyrus

Near simple types, it is possible to use another lists - what behave like arrays - e.g.: iterable lists like std::list or std::(de)queue.

Collapse
 
sandordargo profile image
Sandor Dargo

But if you really need something that behaves like arrays, use std::array from the <array> header.