4#ifndef _Stroika_Foundation_Common_UniqueID_h_
5#define _Stroika_Foundation_Common_UniqueID_h_ 1
7#include "Stroika/Foundation/StroikaPreComp.h"
13#include "Stroika/Foundation/Common/Common.h"
28 inline atomic<uint64_t> sUniqueIDLast_{0};
49 template <
typename TAG>
61 constexpr bool operator== (
const UniqueID& rhs)
const =
default;
62 constexpr strong_ordering operator<=> (
const UniqueID& rhs)
const =
default;
71 constexpr explicit UniqueID (uint64_t
id);
84#include "UniqueID.inl"
String is like std::u32string, except it is much easier to use, often much more space efficient,...
An opaque ID - each New () one never given before, in this process - of a type of its own for each TA...
static UniqueID New()
One never given before in this process - by New () of any TAG.
nonvirtual Characters::String ToString() const