Stroika Library 3.0d25
 
Loading...
Searching...
No Matches
UniqueID.inl
1/*
2 * Copyright(c) Sophist Solutions, Inc. 1990-2026. All rights reserved
3 */
5
7
8 /*
9 ********************************************************************************
10 ****************************** Common::UniqueID ********************************
11 ********************************************************************************
12 */
13 template <typename TAG>
14 constexpr UniqueID<TAG>::UniqueID (uint64_t id)
15 : fID_{id}
16 {
17 }
18 template <typename TAG>
19 inline auto UniqueID<TAG>::New () -> UniqueID
20 {
21 return UniqueID{++Private_::sUniqueIDLast_};
22 }
23 template <typename TAG>
25 {
26 return Characters::ToString (fID_);
27 }
28
29}
String is like std::u32string, except it is much easier to use, often much more space efficient,...
Definition String.h:201
An opaque ID - each New () one never given before, in this process - of a type of its own for each TA...
Definition UniqueID.h:50