File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
test/std/ranges/range.adaptors/range.concat Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -621,8 +621,9 @@ namespace views {
621621namespace __concat {
622622struct __fn {
623623 template <input_range _Range>
624- [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator ()(_Range&& __range) noexcept (
625- noexcept (views::all((std::forward<_Range>(__range))))) -> decltype(views::all((std::forward<_Range>(__range)))) {
624+ [[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto
625+ operator ()(_Range&& __range) noexcept (noexcept (views::all((std::forward<_Range>(__range)))))
626+ -> decltype (views::all((std::forward<_Range>(__range)))) {
626627 return views::all (std::forward<_Range>(__range));
627628 }
628629
Original file line number Diff line number Diff line change @@ -172,8 +172,6 @@ concept __concatable = requires {
172172 typename __concat_rvalue_reference_t <_Rs...>;
173173} && __concat_indirectly_readable<_Rs...>;
174174
175-
176-
177175# endif // _LIBCPP_STD_VER >= 23
178176
179177} // namespace ranges
Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ constexpr bool tests() {
8686 test_with_more_than_one_view ();
8787
8888 // Check cases where the default constructor isn't provided
89- { static_assert (!std::is_default_constructible_v<std::ranges::concat_view<NoDefaultView >>); }
89+ {
90+ static_assert (!std::is_default_constructible_v<std::ranges::concat_view<NoDefaultView >>);
91+ }
9092
9193 // Check noexcept-ness
9294 {
You can’t perform that action at this time.
0 commit comments