![]() |
KTech 1.1.0
C++ 2D terminal game engine library
|
Serializable world structure identifier. More...
#include <id.hpp>
Public Member Functions | |
constexpr | ID () |
Construct a null ID . | |
constexpr auto | operator== (ID id) const -> bool |
Compare 2 ID s. | |
Friends | |
class | CachingRegistry< T > |
Serializable world structure identifier.
Comprises a universally unique identifier (UUID) and a local cached index maintained by CachingRegistry
. The local cached index is mutable
, so it can be changed by CachingRegistry
even if the containing ID
is const
.
KTech::CachingRegistry