Less‐than operators
Synopses
Declared in <absl/time/time.h>
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);
Less‐than operator
bool
operator<(
btree_multiset const& x,
btree_multiset const& y);
Less‐than operator
bool
operator<(
btree_set const& x,
btree_set const& y);
Less‐than operator
bool
operator<(
btree_multimap const& x,
btree_multimap const& y);
Less‐than operator
bool
operator<(
btree_map const& x,
btree_map const& y);
Orders two iterators by position.
bool
operator<(
Iter const& a,
Iter const& b);
Orders string data before a Cord.
Orders a Cord before string data.
Orders one Cord before another.
Returns whether lhs orders lexicographically before rhs.
bool
operator<(
FixedArray const& lhs,
FixedArray const& rhs);
Compares an absl::LogSeverityAtLeast threshold against an absl::LogSeverity value (in either operand order).
constexpr
bool
operator<(
absl::LogSeverity lhs,
absl::LogSeverityAtLeast rhs);
Determines whether lhs is less than rhs.
Returns whether one duration is less than another.
Returns whether one time is earlier than another.
Compares a span and a container lexicographically.
Compares a container and a span lexicographically.
Compares two spans lexicographically.
template<typename T>
constexpr
bool
operator<(
Span<T> a,
Span<T const> b);
Compares two spans lexicographically.
template<typename T>
constexpr
bool
operator<(
Span<T const> a,
Span<T> b);
Compares two spans lexicographically.
Compares an absl::LogSeverityAtMost threshold against an absl::LogSeverity value (in either operand order).
constexpr
bool
operator<(
absl::LogSeverityAtMost lhs,
absl::LogSeverity rhs);
Return Value
-
trueifais less thanb,falseotherwise. -
trueifaprecedesb. -
trueifxis lexicographically less thany. -
trueiflhsis lexicographically less thanrhs. -
trueif the comparison holds,falseotherwise. -
trueiflhsis less thanrhs;falseotherwise. -
trueiflhsis less thanrhs. -
trueiflhsis earlier thanrhs. -
trueifais lexicographically less thanb.
Parameters
Name |
Description |
a |
The first inlined vector. |
b |
The second inlined vector. |
x |
The left‐hand string data. |
y |
The right‐hand Cord. |
lhs |
The left‐hand fixed array. |
rhs |
The right‐hand fixed array. |
Created with MrDocs