omni::operator<
Defined in omni/String.h
-
constexpr bool omni::operator<(const string &lhs, const string &rhs) noexcept
Compares
lhs
andrhs
.All comparisons are done lexicographically using omni::string::compare().
- Parameters
lhs – Left hand side of the comparison.
rhs – Right hand side of the comparison.
- Returns
true if
lhs
is less thanrhs
, false otherwise.