struct
IndexSetEqualityFunctor for comparing two IndexSet objects for equality.
This functor defines an operator() that compares two IndexSet objects. Two sets are considered equal if they have the same size and all corresponding elements are equal.
Public functions
- auto operator()(const IndexSet& lhs, const IndexSet& rhs) const -> bool
- Compares two IndexSet objects for equality.
Function documentation
bool Rodin:: IndexSetEquality:: operator()(const IndexSet& lhs,
const IndexSet& rhs) const
Compares two IndexSet objects for equality.
Parameters | |
---|---|
lhs | The left-hand side IndexSet. |
rhs | The right-hand side IndexSet. |
Returns | true if both IndexSet objects are equal, false otherwise. |