On Friday, January 24, 2020, Alexander Grund wrote:
Currently there is:
- Heap storage, resizable: vector - Stack storage, resizable: static_vector - Heap storage, fixed size at runtime: dynamic_array - Stack storage, fixed size at compiletime: array - Heap storage, fixed size at compiletime: unique_ptr<array>
If you're fine with unique_ptr and most people are, you also have:
Heap storage, fixed size at runtime:
allocate_unique