This commit is contained in:
Billy O'Neal (VC LIBS) 2018-05-15 19:37:07 -07:00
parent 1da082353f
commit a73c536ea1

View File

@ -269,7 +269,7 @@ namespace details
&& 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 noexcept
{ // test that the iterator *this + n is a valid range in an STL { // test that the iterator *this + n is a valid range in an STL
// algorithm call // algorithm call
Expects((index_ + n) >= 0 && (index_ + n) <= span_->size()); Expects((index_ + n) >= 0 && (index_ + n) <= span_->size());
@ -288,7 +288,7 @@ namespace details
constexpr void _Seek_to(const pointer p) noexcept constexpr void _Seek_to(const pointer p) noexcept
{ // adjust the position of *this to previously verified location p { // adjust the position of *this to previously verified location p
// after _Unwrap // after _Unwrapped
index_ = p - span_->data(); index_ = p - span_->data();
} }
#endif #endif