Skip to main content

==

Symbol of Operator.

(const Operator lhs == const Operator rhs) -> bool

Compares two operators for equality.Two operators are equal if they are the same type and have identical parameters.Note that mathematically equivalent expressions may not be considered equal

Parameters

  • lhs: Left-hand side value.
  • rhs: The right-hand-side Operator object.

Returns

true if the objects are equal, false otherwise.

Example

X(0) == X(0)        // Returns true
X(0) == Y(0) // Returns false
X(0) == 1.0 * X(0) // Returns false