Update include/gsl/span

Co-Authored-By: Casey Carter <cartec69@gmail.com>
This commit is contained in:
Jordan Maples [MSFT] 2020-02-03 17:51:25 -08:00 committed by GitHub
parent 1815791af8
commit f4ee6ee73b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_);
} }