Template Function sequant::detail::lexicographic_compare_indices

Function Documentation

template<typename Range1, typename Range2>
std::weak_ordering sequant::detail::lexicographic_compare_indices(Range1 &&a, Range2 &&b)

Note

takes forwarding references since some views (e.g. ranges::any_view) are not iterable when const

Returns:

the lexicographic order of the Index ranges a and b