85 [[nodiscard]]
constexpr bool
91 [[nodiscard]]
constexpr bool
118 friend constexpr bool
126 friend constexpr bool
134 friend constexpr bool
140 friend constexpr bool
146 friend constexpr bool
155 os << (seqProx.
isSeq() ?
"sequence " :
"ticket ");
156 os << seqProx.
value();
A type that represents either a sequence value or a ticket value.
friend constexpr bool operator<(SeqProxy lhs, SeqProxy rhs)
friend constexpr bool operator>(SeqProxy lhs, SeqProxy rhs)
static constexpr SeqProxy rawSequence(std::uint32_t v)
Factory function to return a sequence-based SeqProxy.
constexpr SeqProxy(Type t, std::uint32_t v)
SeqProxy & operator=(SeqProxy const &other)=default
friend constexpr bool operator>=(SeqProxy lhs, SeqProxy rhs)
friend constexpr bool operator==(SeqProxy lhs, SeqProxy rhs)
SeqProxy(SeqProxy const &other)=default
constexpr bool isTicket() const
friend std::ostream & operator<<(std::ostream &os, SeqProxy seqProx)
SeqProxy & advanceBy(std::uint32_t amount)
static constexpr SeqProxy rawTicket(std::uint32_t v)
Factory function to return a ticket-based SeqProxy.
friend constexpr bool operator<=(SeqProxy lhs, SeqProxy rhs)
constexpr std::uint32_t value() const
constexpr bool isSeq() const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.