IndexSetEquality
Functor for comparing two IndexSet objects for equality.
Defined in Rodin/FlatSet.h
struct IndexSetEquality;
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 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. |