48 priority ePriority = priority::normal;
52 static inline std::atomic_size_t nIdCounter { 0 };
55 inline time_ordered_priority_key::time_ordered_priority_key(
priority ePriority) noexcept
56 : ePriority(ePriority)
61 constexpr
auto time_ordered_priority_key::operator<(
const time_ordered_priority_key& other)
const noexcept
63 if (ePriority != other.ePriority)
64 return ePriority > other.ePriority;
66 return nId < other.nId;
73 return static_cast<u8>(eLeft) <=>
static_cast<u8>(eRight);
priority
User may use the predefined values or the custom ones, for ex. "normal - 1", this type is supposed to...
A structure that can be used as a key in ordered containers so that items are ordered in descending o...
std::uint8_t u8
0 .. 65 535