|
VectorPro
High-performance, header-only dynamic array with configurable growth policy, custom allocator support, and optional modification-event notifications.
|
Namespaces | |
| namespace | detail |
Classes | |
| class | Iterator |
| A raw-pointer-backed contiguous random-access iterator. More... | |
| class | Vector |
| A dynamically resizable contiguous array. More... | |
Concepts | |
| concept | Listener |
| Constrains listener callbacks usable with Vector:subscribe(). | |
Typedefs | |
| template<typename T , typename Allocator = std::allocator<T>, std::size_t GrowthNum = 2, std::size_t GrowthDen = 1> | |
| using | ObservableVector = Vector< T, Allocator, GrowthNum, GrowthDen, true > |
| Convenience alias for a Vector with event notifications enabled. | |
Functions | |
| template<typename T , typename Allocator , std::size_t GrowthNum, std::size_t GrowthDen, bool EnableEvents> | |
| void | swap (Vector< T, Allocator, GrowthNum, GrowthDen, EnableEvents > &a, Vector< T, Allocator, GrowthNum, GrowthDen, EnableEvents > &b) noexcept |
| Exchanges the contents of two vectors. | |
| using VectorPro::ObservableVector = typedef Vector<T, Allocator, GrowthNum, GrowthDen, true> |
|
noexcept |
Exchanges the contents of two vectors.
| a | First vector. |
| b | Second vector. |