Skip to content

Commit 922c14e

Browse files
committed
fixup! WIP: [libc++][ranges] Implement ranges::stride_view.
Make clang-format happy. Signed-off-by: Will Hawkins <[email protected]>
1 parent 5df9d0c commit 922c14e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

libcxx/modules/std/ranges.inc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -293,16 +293,16 @@ export namespace std {
293293
using std::ranges::views::zip;
294294
} // namespace views
295295

296-
#if 0
296+
# if 0
297297
// [range.zip.transform], zip transform view
298298
using std::ranges::zip_transform_view;
299299

300300
namespace views {
301301
using std::ranges::views::zip_transform;
302302
}
303-
#endif // _LIBCPP_STD_VER >= 23
303+
# endif // _LIBCPP_STD_VER >= 23
304304

305-
#if 0
305+
# if 0
306306
using std::ranges::adjacent_view;
307307

308308
namespace views {
@@ -330,42 +330,42 @@ export namespace std {
330330
namespace views {
331331
using std::ranges::views::slide;
332332
}
333-
#endif
333+
# endif
334334

335-
#if _LIBCPP_STD_VER >= 23
335+
# if _LIBCPP_STD_VER >= 23
336336
// [range.chunk.by], chunk by view
337337
using std::ranges::chunk_by_view;
338338

339339
namespace views {
340340
using std::ranges::views::chunk_by;
341341
}
342-
#endif // _LIBCPP_STD_VER >= 23
342+
# endif // _LIBCPP_STD_VER >= 23
343343

344-
#if _LIBCPP_STD_VER >= 23
344+
# if _LIBCPP_STD_VER >= 23
345345
// [range.stride], stride view
346346
using std::ranges::stride_view;
347347

348348
namespace views {
349349
using std::ranges::views::stride;
350350
} // namespace views
351-
#endif // _LIBCPP_STD_VER >= 23
351+
# endif // _LIBCPP_STD_VER >= 23
352352

353-
#if 0
353+
# if 0
354354
using std::ranges::cartesian_product_view;
355355

356356
namespace views {
357357
using std::ranges::views::cartesian_product;
358358
}
359-
#endif
359+
# endif
360360
} // namespace ranges
361361

362362
namespace views = ranges::views;
363363

364364
using std::tuple_element;
365365
using std::tuple_size;
366366

367-
#if _LIBCPP_STD_VER >= 23
367+
# if _LIBCPP_STD_VER >= 23
368368
using std::from_range;
369369
using std::from_range_t;
370-
#endif // _LIBCPP_STD_VER >= 23
370+
# endif // _LIBCPP_STD_VER >= 23
371371
} // namespace std

0 commit comments

Comments
 (0)