Skip to content

Commit e4e9c1c

Browse files
fix noexcept conditions for iter_move
1 parent 2aedde0 commit e4e9c1c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libcxx/include/__ranges/concat_view.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,8 @@ class concat_view<_Views...>::__iterator : public __concat_view_iterator_categor
489489

490490
_LIBCPP_HIDE_FROM_ABI friend constexpr decltype(auto) iter_move(const __iterator& __it) noexcept(
491491

492-
((is_nothrow_invocable_v< decltype(ranges::iter_move), const iterator_t<__maybe_const<_Const, _Views>>& >) &&
493-
...) &&
494-
((is_nothrow_convertible_v< range_rvalue_reference_t<__maybe_const<_Const, _Views>>,
492+
((is_nothrow_invocable_v< decltype(ranges::iter_move), const iterator_t<__maybe_const<_Const, _Views>>& > &&
493+
is_nothrow_convertible_v< range_rvalue_reference_t<__maybe_const<_Const, _Views>>,
495494
__concat_rvalue_reference_t<__maybe_const<_Const, _Views>...> >) &&
496495
...))
497496

0 commit comments

Comments
 (0)