C++ Vector Implementation
A C++17 ready, allocator_traits
aware Vector similar to std::vector
; made to become familiar with the internals of C++ standard library containers.
TODO:
- fix some obscure
Iterator
problems (perhaps addbegin()
andend()
to it) - we'll see shrinkToFit(#)
: if current storage is larger than # Bytes, it shrinks it to # byteshalfSize()
shrink
I won't attempt to create a full tutorial on this, because LokiAstari has covered this in excruciating detail already - in a level I can't hope to match (check out acknowledgements section below).
I used Windows, Visual Studio & C++17 to...