Skip to content

Commit 93e0aa3

Browse files
Update libcxx/include/__ranges/concat_view.h
Co-authored-by: A. Jiang <[email protected]>
1 parent e43f970 commit 93e0aa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__ranges/concat_view.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ class concat_view<_Views...>::__iterator {
472472

473473
_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(const __iterator& __it, default_sentinel_t) {
474474
_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(
475-
!__it.__it_.valueless_by_exception(), "Trying to convert from a valueless iterator of concat_view.");
475+
!__it.__it_.valueless_by_exception(), "Trying to compare a valueless iterator of concat_view with the default sentinel.");
476476
constexpr auto __last_idx = sizeof...(_Views) - 1;
477477
return __it.__it_.index() == __last_idx &&
478478
std::__unchecked_get<__last_idx>(__it.__it_) == ranges::end(std::get<__last_idx>(__it.__parent_->__views_));

0 commit comments

Comments
 (0)