A small educational STL-like algorithms library implemented from scratch using iterators and modern C++20.
Designed for students and learners who want to understand how STL algorithms work internally.
ministl::findministl::accumulateministl::transformministl::sort(educational implementation)
All algorithms:
- are iterator-based
- work with standard containers
- require no inheritance or base classes
- are header-only
std::vector<int> v{4,1,3};
ministl::sort(v.begin(), v.end());
int sum = ministl::accumulate(v.begin(), v.end(), 0);
auto it = ministl::find(v.begin(), v.end(), 3);
π Full Project π Download the full project (with examples & documentation): https://gabrielpopovic.gumroad.com/l/lvchj
π Build Example g++ -std=c++20 -Iinclude examples/main.cpp -o example ./example or
cmake -S . -B build cmake --build build ./build/example
π§ Educational Focus This project focuses on:
iterator categories
generic programming
algorithm design
understanding STL internals
The goal is clarity over performance.