Definition at line 41 of file Helpers.h.
◆ newId()
Definition at line 43 of file Helpers.h.
44 {
45 constexpr int64_t limit = (std::numeric_limits<int32_t>::max)();
46 const uint64_t ticks = static_cast<uint64_t>(UtcWatch::now().sinceEpoch());
47 return static_cast<int32_t>((splitmix64(ticks) % limit) + 1);
48 }