omni::operator!=¶
Defined in omni/String.h
-
constexpr bool
omni
::
operator!=
(const char *lhs, const string &rhs)¶ Compares
lhs
andrhs
.All comparisons are done lexicographically using omni::string::compare().
- Parameters
lhs – Left hand side of the comparison.
rhs – Right hand sinde of the comparison.
- Throws
std::invalid_argument – if
lhs
isnullptr
.- Returns
true if
lhs
andrhs
are not equal, false otherwise.