CArrays
CArrays is a lightweight, header-only C++ library designed to provide modern array-like containers with a simple and efficient interface. It aims to bridge the gap between raw C arrays and more complex C++ containers like `std::vector` or `std::array`, offering a balance between performance and usability.
The library introduces a single template class, `CArray`, which behaves similarly to a fixed-size array but with
Key features of CArrays include:
- Zero-overhead allocation for small, fixed-size arrays.
- Automatic memory management with support for dynamic resizing.
- Compatibility with standard C++ algorithms and iterators.
- Thread-safe operations for single-writer or single-reader scenarios.
- Minimal runtime dependencies, as it relies solely on the C++ standard library.
The library is header-only, meaning users can include it directly in their projects without requiring compilation
Developed with performance in mind, CArrays avoids unnecessary abstractions, making it an attractive alternative to higher-level
While CArrays shares some similarities with `std::vector`, it differs in its focus on simplicity and minimalism.