IndexArrayCompare struct
#include <Rodin/Array.h>
Functor for lexicographically ordering index arrays.
Public functions
- auto operator()(const IndexArray& lhs, const IndexArray& rhs) const -> bool
- Compares two index arrays lexicographically.
Function documentation
bool Rodin:: IndexArrayCompare:: operator()(const IndexArray& lhs,
const IndexArray& rhs) const
Compares two index arrays lexicographically.
| Parameters | |
|---|---|
| lhs | The left-hand side index array. |
| rhs | The right-hand side index array. |
| Returns | true if lhs is lexicographically before rhs. |