Less‐than operators
Synopses
Declared in <absl/time/time.h>
Compares an absl::LogSeverityAtLeast threshold against an absl::LogSeverity value (in either operand order).
constexpr
bool
operator<(
absl::LogSeverity lhs,
absl::LogSeverityAtLeast rhs);
Compares an absl::LogSeverityAtMost threshold against an absl::LogSeverity value (in either operand order).
constexpr
bool
operator<(
absl::LogSeverityAtMost lhs,
absl::LogSeverity 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 time is earlier than another.
Returns whether one duration is less than another.
Determines whether lhs is less than rhs.
Tests whether the value of an inlined vector is less 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 before rhs.
bool
operator<(
FixedArray const& lhs,
FixedArray const& rhs);
Orders one Cord before another.
Orders a Cord before string data.
Orders string data before a Cord.
Orders two iterators by position.
bool
operator<(
Iter const& a,
Iter const& b);
Return Value
-
trueif the comparison holds,falseotherwise. -
trueifais lexicographically less thanb. -
trueiflhsis earlier thanrhs. -
trueiflhsis less thanrhs. -
trueiflhsis less thanrhs;falseotherwise. -
trueifais less thanb,falseotherwise. -
trueiflhsis lexicographically less thanrhs. -
trueifxis lexicographically less thany. -
trueifaprecedesb.
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