Skip to content

42 - Recoding your own implementation of the C++98 STL containers

Notifications You must be signed in to change notification settings

cclaude42/ft_containers

Repository files navigation

ft_containers

42 project, the implementation of templated classes that behave exactly like the C++ 98 STL containers.

Final grade : 125/125

Mandatory part : 100/100

Bonus : 25/25

The containers

The project includes the following containers :

  • Vector
  • List
  • Map
  • Stack
  • Queue
  • Deque (bonus)
  • Multimap (bonus)
  • Set (bonus)
  • Multiset (bonus)

How to use it

The containers are templated, meaning you can use them with any type, just like you would any other STL containers. Just include the .hpp corresponding to the container you want to use, and use it!

The difference is the namespace ; where you would call std::vector<T>, you now call ft::vector<T>.

Testers

The testers available in the repository :

About

42 - Recoding your own implementation of the C++98 STL containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published