Skip to content

PriyanshSahu65/custom-STL-vector-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Henlo!

    β•±|、
  (˚ˎ 。7  
   |γ€Λœγ€΅          
   γ˜γ—Λ,)γƒŽ

🌱 This is my custom equivalent of an STL-style vector data structure in C++.
-> I’ve implemented it from scratch with:

-🌸 Custom allocator
-🌸 Custom iterator
-🌸 Manual memory management (placement new, destructors)
-🌸 Support for advanced operations like emplace_back using perfect forwarding
-🌸 Clean, STL-style interface

I focused heavily on keeping the code clean, efficient, and memory-safe, while sticking close to the design of the real STL vector.

This project is a learning-driven implementation meant to mimic ~95% of STL vector behavior and expose how low-level container internals work.


About

🌿 Custom allocator πŸƒ Lightweight STL-style design 🌱 Built from scratch for learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages