Checks the equality of two absl::StatusOr<T> objects.
Synopsis
Declared in <absl/status/statusor.h>
template<typename T>
requires internal_statusor::IsEqualityComparable<T>::value
bool
operator==(
StatusOr<T> const& lhs,
StatusOr<T> const& rhs);
Return Value
true if both hold equal values or equal statuses.
Parameters
Name |
Description |
lhs |
The left‐hand operand. |
rhs |
The right‐hand operand. |
Created with MrDocs