Skip to content

Commit 9055304

Browse files
clang format
1 parent 8c60052 commit 9055304

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

libcxx/include/__ranges/concat_view.h

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,16 @@ struct __concat_view_iterator_category<_Const, _Views...> {
190190
private:
191191
constexpr static bool __derive_pack_random_iterator =
192192
(derived_from<typename iterator_traits<iterator_t<__maybe_const<_Const, _Views>>>::iterator_category,
193-
random_access_iterator_tag> && ...);
193+
random_access_iterator_tag> &&
194+
...);
194195
constexpr static bool __derive_pack_bidirectional_iterator =
195196
(derived_from<typename iterator_traits<iterator_t<__maybe_const<_Const, _Views>>>::iterator_category,
196-
bidirectional_iterator_tag> && ...);
197+
bidirectional_iterator_tag> &&
198+
...);
197199
constexpr static bool __derive_pack_forward_iterator =
198200
(derived_from<typename iterator_traits< iterator_t<__maybe_const<_Const, _Views>>>::iterator_category,
199-
forward_iterator_tag> && ...);
201+
forward_iterator_tag> &&
202+
...);
200203

201204
public:
202205
using iterator_category =
@@ -618,9 +621,8 @@ namespace views {
618621
namespace __concat {
619622
struct __fn {
620623
template <input_range _Range>
621-
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto
622-
operator()(_Range&& __range) noexcept(noexcept(views::all((std::forward<_Range>(__range)))))
623-
-> decltype(views::all((std::forward<_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)))) {
624626
return views::all(std::forward<_Range>(__range));
625627
}
626628

0 commit comments

Comments
 (0)