Function operator==(const Rule&, const Rule&)

Function Documentation

inline bool operator==(const Rule &r1, const Rule &r2)

Overloads the equality operator to compare two Rule objects.

Parameters:
  • r1 – The first Rule object.

  • r2 – The second Rule object.

Returns:

Returns true if the rules are identical, false otherwise.