operator!=#

Fully qualified name: omni::operator!=

Defined in omni/String.h

constexpr bool omni::operator!=(const string &lhs, const char *rhs)#

Compares lhs and rhs.

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 rhs is nullptr.

Returns:

true if lhs and rhs are not equal, false otherwise.