Nonzero monotonic identity for a Timeline-owned object. More...
#include <item_id.hpp>
Public Member Functions | |
| constexpr bool | valid () const noexcept |
| Returns whether this value names an object rather than a sentinel. | |
| constexpr auto | operator<=> (const ItemId &) const =default |
Public Attributes | |
| std::uint64_t | value = 0 |
Nonzero monotonic identity for a Timeline-owned object.
Zero is the null sentinel. UINT64_MAX represents exhausted allocation and is not an object identity.
|
constexprdefault |
|
inlineconstexprnoexcept |
Returns whether this value names an object rather than a sentinel.
| std::uint64_t pulp::timeline::ItemId::value = 0 |