|
Engine²
Open-source game engine written in C++.
|
An Id class for creating strongly-typed ID wrappers. This template provides a common interface for ID types by wrapping a value type with type-safe operations. Derived classes should implement static NullValue() and Null() methods to define null/invalid ID semantics. More...
#include <Id.hpp>
Public Attributes | |
| TValue | value |
| The underlying value of the ID. | |
An Id class for creating strongly-typed ID wrappers. This template provides a common interface for ID types by wrapping a value type with type-safe operations. Derived classes should implement static NullValue() and Null() methods to define null/invalid ID semantics.
| TDerived | The derived class type (CRTP pattern) |
| TValue | The underlying value type for the ID (e.g., int, uint64_t, etc.) |
| TValue Engine::BasicId< TDerived, TValue >::value |
The underlying value of the ID.