mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Fat fingered the equals.
This commit is contained in:
parent
f46e88153e
commit
1da082353f
@ -266,7 +266,7 @@ namespace details
|
|||||||
span_iterator rhs) noexcept
|
span_iterator rhs) noexcept
|
||||||
{ // test that [lhs, rhs) forms a valid range inside an STL algorithm
|
{ // test that [lhs, rhs) forms a valid range inside an STL algorithm
|
||||||
Expects(lhs.span_ == rhs.span_ // range spans have to match
|
Expects(lhs.span_ == rhs.span_ // range spans have to match
|
||||||
&& lhs.index_ < rhs.index_); // range must not be transposed
|
&& lhs.index_ <= rhs.index_); // range must not be transposed
|
||||||
}
|
}
|
||||||
|
|
||||||
cosntexpr void _Verify_offset(const difference_type n) const noexcpt
|
cosntexpr void _Verify_offset(const difference_type n) const noexcpt
|
||||||
|
Loading…
Reference in New Issue
Block a user