Skip to content

Implementation of the Standard Template Library (STL) Vector container.

Notifications You must be signed in to change notification settings

tony-josi/stl_vector_implementation

Repository files navigation

STL Vector Container Implementation

Standard Template Library vector is a container class, that can be used like a dynamic array. The elements of a vector are stored in contiguous memory.

This project is a re - implementation of the standard STL vector library of C++. It's designed to be exception safe, effcient and memory safe.

Class Vector

This implementation of the vector container class relies on SFINAE based overload & placement new for intialisation of items.

private members

  • size__ total size of the buffer
  • cur_len__ current number of items in the buffer
  • mem_buff__ points to memory allocated for storing the elements of type T. (T *mem_buff__)

References

About

Implementation of the Standard Template Library (STL) Vector container.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published