omni::operator<=
Defined in omni/String.h
-
constexpr bool omni::operator<=(const char *lhs, const string &rhs)
Compares
lhsandrhs.All comparisons are done lexicographically using omni::string::compare().
- Parameters
lhs – Left hand side of the comparison.
rhs – Right hand side of the comparison.
- Throws
std::invalid_argument – if
lhsisnullptr.- Returns
true if
lhsis less than or equal torhs, false otherwise.