Greater‐than operators
Synopses
Declared in <absl/base/log_severity.h>
Compares an absl::LogSeverityAtLeast threshold against an absl::LogSeverity value (in either operand order).
constexpr
bool
operator>(
absl::LogSeverityAtLeast lhs,
absl::LogSeverity rhs);
Compares an absl::LogSeverityAtMost threshold against an absl::LogSeverity value (in either operand order).
constexpr
bool
operator>(
absl::LogSeverity lhs,
absl::LogSeverityAtMost rhs);
Compares two spans lexicographically.
Compares two spans lexicographically.
template<typename T>
constexpr
bool
operator>(
Span<T const> a,
Span<T> b);
Compares two spans lexicographically.
template<typename T>
constexpr
bool
operator>(
Span<T> a,
Span<T const> b);
Compares a container and a span lexicographically.
Compares a span and a container lexicographically.
Returns whether one duration is greater than another.
Returns whether one time is later than another.
Determines whether lhs is greater than rhs.
Tests whether the value of an inlined vector is greater than the value of another inlined vector using a lexicographical comparison algorithm.
template<
typename T,
size_t N,
typename A>
bool
operator>(
absl::InlinedVector<T, N, A> const& a,
absl::InlinedVector<T, N, A> const& b);
Returns whether lhs orders lexicographically after rhs.
bool
operator>(
FixedArray const& lhs,
FixedArray const& rhs);
Orders one Cord after another.
Orders a Cord after string data.
Orders string data after a Cord.
Orders two iterators by position.
bool
operator>(
Iter const& a,
Iter const& b);
Return Value
-
trueif the comparison holds,falseotherwise. -
trueifais lexicographically greater thanb. -
trueiflhsis greater thanrhs. -
trueiflhsis later thanrhs. -
trueiflhsis greater thanrhs;falseotherwise. -
trueifais greater thanb,falseotherwise. -
trueiflhsis lexicographically greater thanrhs. -
trueifxis lexicographically greater thany. -
trueifafollowsb.
Parameters
Name |
Description |
lhs |
The left‐hand operand. |
rhs |
The right‐hand operand. |
a |
The left operand. |
b |
The right operand. |
x |
The left‐hand Cord. |
y |
The right‐hand Cord. |
Created with MrDocs