Welcome to OpenSTL!
This repository is dedicated to creating an open-source and readable version of the C++ Standard Template Library (STL). The primary goal of this project is to provide a platform for learning and practicing the STL by providing an easy-to-understand implementation.
The primary goal of this repository is to build an open-source and readable version of the C++ Standard Template Library (STL). The STL is a powerful and essential part of C++ programming, providing various containers, algorithms, and utilities for developers.
- Readability: Make the STL codebase more readable and understandable for educational purposes.
- Learning Tool: Provide a resource for learning about the internals of the STL and how it works under the hood.
- Contributions: Encourage contributions from the community to improve and extend the functionality of the STL implementation.
The project can be built using CMake, which is a cross-platform build system. Follow these steps to build the project:
- CMake: Make sure you have CMake installed on your system. You can download it from cmake.org.
Follow these steps to build and run the OpenSTL project:
You should build this project using a compiler that supports C++ 20.
Clone the repository to your local machine:
https://github.com/Mohammad-Khobaib/OpenSTL.git
Create build directory:
mkdir build
Navigate to build directory:
cd build
Configure cmake:
cmake ../
build the project:
cmake --build .
Run test cases:
ctest