Update include/gsl/span

Co-Authored-By: Casey Carter <cartec69@gmail.com>
This commit is contained in:
Jordan Maples [MSFT] 2020-02-03 18:31:21 -08:00 committed by GitHub
parent 49e7ed1ebf
commit 4ec7058b56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,7 +263,7 @@ namespace details
std::enable_if_t<std::is_same<std::remove_cv_t<Type2>, value_type>::value, int> = 0>
constexpr bool operator>(const span_iterator<Type2>& rhs) const noexcept
{
return !(*this < rhs);
return rhs < *this;
}
template <