Skip to content

Containers and Algorithms in Modern C++

License

Notifications You must be signed in to change notification settings

Iamkiller233/miniSTL

 
 

Repository files navigation

miniSTL

Intention

This repo is a minimum implementation of the C++ Standard Template Library (STL). The intention is not to challenge those industrial-strength implementations, but to familiarize ourselves with modern C++ (i.e. C++11/14/17) and its standard library (e.g. containers, algorithms and utilities).

Build

git clone https://github.com/pvcStillInGradSchool/miniSTL.git
cd miniSTL
mkdir build
cd build
cmake -S .. -B .  # cmake 3.13.5+
cmake --build .
# Run each test one after another:
./test/forward_list
./test/vector
# Run all tests:
ctest    # print compact info
ctest -V # print verbose info

Code Style

We use cpplint.py to detect style errors:

cd miniSTL
python cpplint.py include/abc/*.h test/abc/data/*.h  test/*.cc

Read Google C++ Style Guide for more details.

About

Containers and Algorithms in Modern C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.2%
  • CMake 4.8%