How peter0youssef/dynamic-array works
Dynamic-Array is a small C++ template library implementing a Go-inspired dynamic array named Slice. Its intended workflow is for a caller to construct and use a Slice, whose methods manage an allocated backing array and provide operations such as append, resize, access, and display. The sole source file shows allocation and array management; main is empty, so no runnable user workflow or other subsystems are evidenced.
Main entry points: Slice.cpp Slice API
Components 4
Other components
- Caller
- Slice API
Slice.cpp - Allocation helper
Slice.cpp - Backing array
Slice.cpp
Connections 4
- Caller → Slice API: uses
Slice.cpp - Slice API → Allocation helper: allocates
Slice.cpp - Allocation helper → Backing array: replaces storage
Slice.cpp - Slice API → Backing array: reads and writes
Slice.cpp