table: fixed operator< for table iterators
This commit is contained in:
@@ -125,7 +125,7 @@ template<typename... Lhs, typename... Rhs>
|
||||
|
||||
template<typename... Lhs, typename... Rhs>
|
||||
[[nodiscard]] constexpr bool operator<(const table_iterator<Lhs...> &lhs, const table_iterator<Rhs...> &rhs) noexcept {
|
||||
return std::get<0>(lhs.it) > std::get<0>(rhs.it);
|
||||
return std::get<0>(lhs.it) < std::get<0>(rhs.it);
|
||||
}
|
||||
|
||||
template<typename... Lhs, typename... Rhs>
|
||||
|
||||
Reference in New Issue
Block a user