vecs
Fast, flexible ecs in C++ with ergonomic API
|
A container for local data specific to a system. More...
#include <vecs.h>
Public Member Functions | |
T & | operator* () |
Dereferences the local data, providing access to the stored value. | |
A container for local data specific to a system.
The Local
struct is designed to hold data that is unique to each system, providing safe and efficient access to a local instance of the data. This allows each system to maintain its own persistent copy of T
throughout its lifetime, preventing interference between systems that may use similar or identical data types.
T | The type of data to be stored locally within the system. |
|
inline |
Dereferences the local data, providing access to the stored value.
T
.