Skip to content

hakamdev/FT-CONTAINERS-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FT::CONTAINERS (C++)

This project is a re-implementation of some C++ containers, namely, std::vector, std::map and std::stack.
The implementation follows the C++98 standard.
The implementation works exactly as the original Containers.

ft::vector<T>

is a data structure similar to the traditional array, except in that it has a dynamic size unlike arrays. In fact, the vector is implemented using an array, the array starts with an initial size, and whenever the array is full, the size is reallocated (new size = old size + old size / 2) in a new array and items are copied to the new reallocated memory.

My documentation on Notion:

https://continuous-neptune-703.notion.site/ft-Containers-T-1497b15ece22485ba89bb57e49a78a33

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published