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 e43f970 commit 93e0aa3Copy full SHA for 93e0aa3
libcxx/include/__ranges/concat_view.h
@@ -472,7 +472,7 @@ class concat_view<_Views...>::__iterator {
472
473
_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(const __iterator& __it, default_sentinel_t) {
474
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
475
- !__it.__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
+ !__it.__it_.valueless_by_exception(), "Trying to compare a valueless iterator of concat_view with the default sentinel.");
476
constexpr auto __last_idx = sizeof...(_Views) - 1;
477
return __it.__it_.index() == __last_idx &&
478
std::__unchecked_get<__last_idx>(__it.__it_) == ranges::end(std::get<__last_idx>(__it.__parent_->__views_));
0 commit comments