32struct UUID :
public std::array<uint8_t, 16>
91 std::uniform_int_distribution<uint8_t> _dist;
98struct hash<
dfx::Utils::UUID>
103 std::size_t hash = 0;
104 for (
auto const byte : uuid)
105 hash ^=
static_cast<std::size_t
>(byte) + 0x9e3779b9 + (hash << 6) + (hash >> 2);
static UUID generate()
Generate a new UUID.
Definition SystemConfigCommandHandler.hpp:15
Definition Message.hpp:21
128-bit UUID value type.
Definition UUIDGenerator.hpp:33
bool isValid() const noexcept
Check whether the UUID is valid.
std::string toString() const
Convert the UUID to a string representation.