We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8004337 commit 1a2643eCopy full SHA for 1a2643e
libcxx/include/__ranges/concat_view.h
@@ -579,8 +579,8 @@ class concat_view<_Views...>::__iterator : public __concat_view_iterator_categor
579
_LIBCPP_HIDE_FROM_ABI friend constexpr __iterator operator-(const __iterator& __it, difference_type __n)
580
requires __concat_is_random_access<_Const, _Views...>
581
{
582
- _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(!__x.__it_.valueless_by_exception() && !__y.__it_.valueless_by_exception(),
583
- "Trying to compare a valueless iterator of concat_view.");
+ _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
+ !__it.__it_.valueless_by_exception(), "Trying to subtract a valuess iterators of concat_view.");
584
auto __temp = __it;
585
__temp -= __n;
586
return __temp;
0 commit comments