Build a std::vector compatible vector from scratch.
for more info: http://www.sven-johannsen.de/slides/vector_from_scratch201605/index.html#/title-page
The project contain 2 targets:
Contail all single steps to create a more less complete vector container.
3 unit tests:
vector_test.cppiterator_test.cppallocator_test.cpp
The file vector_test.cpp runs all tests agains the std::vector and std2::vector to compare the demo code with standard library of the compiler.
Download the single file header from: https://raw.githubusercontent.com/philsquared/Catch/master/single_include/catch.hpp
Copy catch.hpp into the folder extern/catch.
minimal version: 2.8
mkdir build
cd build
cmake ..
- insert for multiple elements
- more tests