|
VectorPro
High-performance, header-only dynamic array with configurable growth policy, custom allocator support, and optional modification-event notifications.
|
Describes a vector modification event. More...
#include <Vector.h>
Public Attributes | |
| EventType | type |
| The kind of modification that occurred. | |
| std::size_t | index |
| The index associated with the event, if any. | |
| std::size_t | oldSize |
| Vector size before the operation. | |
| std::size_t | newSize |
| Vector size after the operation. | |
Describes a vector modification event.
Passed to subscribed listeners after a modifying operation. index is the affected position when applicable (e.g. insertion or erase index); its meaning is operation-dependent and may be 0 for events like CLEAR that don't target a single index.
| std::size_t VectorPro::Vector< T, Allocator, GrowthNum, GrowthDen, EnableEvents >::EventData::index |
The index associated with the event, if any.
| std::size_t VectorPro::Vector< T, Allocator, GrowthNum, GrowthDen, EnableEvents >::EventData::newSize |
Vector size after the operation.
| std::size_t VectorPro::Vector< T, Allocator, GrowthNum, GrowthDen, EnableEvents >::EventData::oldSize |
Vector size before the operation.
| EventType VectorPro::Vector< T, Allocator, GrowthNum, GrowthDen, EnableEvents >::EventData::type |
The kind of modification that occurred.