Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 779 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 779 Bytes

ft_containers 🗳️

Description

Implementation of C++ STL containers (vector, stack, map and set) and useful utilities.

Implemented containers

  • vector
  • map (implemented on Red-black tree)
  • stack
  • set (implemented on Red-black tree)

Implemented utilities

  • iterators_traits
  • reverse_iterator
  • enable_if
  • is_integral
  • equal and lexicographical_compare
  • std::pair
  • std::make_pair

Usage

To test vector: c++ -Wall -Wextra -Werror -std=c++98 main_vector.cpp
To test stack: c++ -Wall -Wextra -Werror -std=c++98 main_stack.cpp
To test map: c++ -Wall -Wextra -Werror -std=c++98 main_map.cpp
To test set: c++ -Wall -Wextra -Werror -std=c++98 main_set.cpp