This project provides implementations of the C++ Standard Template Library (STL) containers, including std::vector
, std::map
, std::stack
, std::set
.
- Implements all major STL container classes and their associated iterators
- Provides a consistent, easy-to-use interface for working with containers
- Supports all standard C++ types, as well as user-defined types
- Every Container have have associated with namesapce
ft::
- Linux, Macos, Windows
- C++98 or later
Here's some References that can help start writing your own STL Containers.
- Template parameters, Member functions and so on With their parameter (http://cplusplus.com)
- Template parameters, Member functions and so on With their parameter (http://cppreference.com)
- Member types is used in containers/iterators (http://stackoverflow.com)
- std::allocator (http://stackoverflow.com)
- Iterator Random-access for Vector (http://geeksforgeeks.com)
- Default values in c++
const value_type& val = value_type()
? (http://geeksforgeeks.com) - Vector capacity in c++ (http://tutorialspoint.com)
- C++ sfinae (http://stackoverflow.com)
- C++
std::enable_if
and sfinae (http://stackoverflow.com)
- Template parameters, Member functions and so on With their parameter (http://cplusplus.com)
- Template parameters, Member functions and so on With their parameter (http://cppreference.com)
SequenceContainer
in c++ (http://codeguru.com)- Default values in c++
const value_type& val = value_type()
? (http://geeksforgeeks.com) - C++ sfinae (http://stackoverflow.com)
- C++
std::enable_if
and sfinae (http://stackoverflow.com)
- Template parameters, Member functions and so on With their parameter (http://cplusplus.com)
- Template parameters, Member functions and so on With their parameter (http://cppreference.com)
- Member types is used in containers/iterators (http://stackoverflow.com)
- std::allocator (http://stackoverflow.com)
- Iterator Bidirectional for Map (http://geeksforgeeks.com)
- Default values in c++
const value_type& val = value_type()
? (http://geeksforgeeks.com) - C++ sfinae (http://stackoverflow.com)
- C++
std::enable_if
and sfinae (http://stackoverflow.com) - Binary Search Tree C++ (BST) (http://geeksforgeeks.com)
- Why Map uses Binary Search Tree (http://stackoverflow.com)
- Balanced Binary Tree (http://programiz.com)
- Binary Search Tree Complete Implementation. (http://algorithms.tutorialhorizon.com)
- Tree Traversals. (http://algorithms.tutorialhorizon.com)
- Red Black Tree (Tree balancing Method) (http://geeksforgeeks.com)
- Implementing Bidirectional Iterator in BST (http://daveparillo.github.io)
git clone https://github.com/alouane04/Custom-STL-Containers-Exploring-OOP-and-RED-BLACK-TREE.git
cd Custom-STL-Containers-Exploring-OOP-and-RED-BLACK-TREE
make && ./ft_containers
For support, email [email protected]