Guid.ixx File
Lightweight GUID (globally unique identifier) implementation. More...
Included Headers
#include <atomic>
#include <cstdint>
#include <cstddef>
#include <helios.ecs.types>
Namespaces Index
| namespace | helios |
| namespace | engine |
| namespace | util |
Classes Index
| class | Guid |
|
Representative of a Globally Unique Identifier. More... | |
| struct | hash<helios::engine::util::Guid> |
Description
Lightweight GUID (globally unique identifier) implementation.
File Listing
The file content with the documentation metadata removed is:
16export namespace helios::engine::util {
27 uint64_t value_{};
43 constexpr bool operator==(const Guid& guid) const = default;
52 constexpr bool operator!=(const Guid& guid) const = default;
86 static std::atomic<uint64_t> counter{1};
117 std::size_t operator()(const helios::engine::util::Guid& guid) const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.