Skip to content

b1tflyyyy/vector-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚙️ Vector C++20 (Simple Implementation)

📊 Current status: in development

📜 Vector implemented features list:

  • push_back()
  • reserve()
  • operator[]
  • is_empty()
  • size()
  • capacity()
  • move ctor
  • move assignment operator
  • copy ctor
  • copy assignment ctor
  • basic dtor
  • 3 basic ctors

🔗 Vector Iterator

  • The basic FI(Forward Iterator) is also implemented here, and in the near future I will implement RAI(Random Access Iterator).

📑 Technical Stack:

  • C++ 20
  • CMake >= 3.14
  • GTF(Google Test framework) for tests
  • CI will be soon

🖼 How to build & test

mkdir build
cd build
cmake ..
cmake --build .
cd tests
./Tests

🔒 Supported OS:

  • GNU/Linux (verified on Void Linux)
  • Windows (not yet verified)