mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Update include/gsl/span
Co-Authored-By: Casey Carter <cartec69@gmail.com>
This commit is contained in:
parent
1815791af8
commit
f4ee6ee73b
@ -294,7 +294,7 @@ namespace details
|
|||||||
}
|
}
|
||||||
|
|
||||||
constexpr void _Verify_offset(const difference_type n) const noexcept
|
constexpr void _Verify_offset(const difference_type n) const noexcept
|
||||||
{ // test that the iterator *this + n is a valid range in an STL
|
{ // test that *this + n is within the span of this iterator STL
|
||||||
// algorithm call
|
// algorithm call
|
||||||
Expects((current_ + n) >= begin_ && (current_ + n) <= end_);
|
Expects((current_ + n) >= begin_ && (current_ + n) <= end_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user