Function sequant::ordinal_compare

Function Documentation

inline bool sequant::ordinal_compare(Index const &idx1, Index const &idx2)

Does the numeric comparison of the index ordinals using less-than operator.

Parameters:
  • idx1

  • idx2

Returns:

True if the ordinal of idx1 is less than that of idx2. Since ordinals are optional, the semantics is that of std::optional