diff --git a/include/gsl/span b/include/gsl/span index 170c746..09a10a9 100644 --- a/include/gsl/span +++ b/include/gsl/span @@ -263,7 +263,7 @@ namespace details std::enable_if_t, value_type>::value, int> = 0> constexpr bool operator>(const span_iterator& rhs) const noexcept { - return !(*this < rhs); + return rhs < *this; } template <