Skip to content

DianaS96/ft_containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages