![]() |
|
Uniot Core
|
| 0.8.1 |
Provides a lightweight type identification system for runtime type checking and safe casting. More...
Classes | |
| class | uniot::IWithType |
| Interface for objects that expose their runtime type information. More... | |
| class | uniot::Type |
| Utility class providing static methods for runtime type identification and safe casting. More... | |
Typedefs | |
| typedef const void * | uniot::type_id |
| Type alias for a unique type identifier. | |
Provides a lightweight type identification system for runtime type checking and safe casting.
This file defines a type identification mechanism that allows objects to expose their type information at runtime, enabling type-safe downcasting without using RTTI.
| typedef const void* uniot::type_id |
Type alias for a unique type identifier.
Each unique C++ type will have a distinct address used as its identifier, allowing for efficient runtime type comparisons.