68 return this->value_ == other.value_;
82 return !(*
this == other);
93 [[nodiscard]]
auto empty() const ->
bool
106 [[nodiscard]]
auto value() const -> std::uint64_t
112 std::uint64_t value_{ 0 };
CAS is a special type that represented in protocol using unsigned 64-bit integer, but only equality c...
Definition cas.hxx:34
cas()=default
Constructs empty CAS value.
auto operator==(const cas &other) const -> bool
Checks if CAS instances represent the same value.
Definition cas.hxx:66
auto value() const -> std::uint64_t
Returns internal representation of the CAS value.
Definition cas.hxx:106
auto empty() const -> bool
Checks if CAS contains meaningful value.
Definition cas.hxx:93
cas(std::uint64_t value)
Constructs CAS value using its integer representation that typically comes from protocol level.
Definition cas.hxx:52
auto operator!=(const cas &other) const -> bool
Checks if CAS instances represent the same value.
Definition cas.hxx:80
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28