[libcxx-commits] [libcxx] [libc++] Implement P2442R1 `std::views::chunk` (PR #171234)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jun 21 08:54:45 PDT 2026
================
@@ -121,13 +113,13 @@ class stride_view : public view_interface<stride_view<_View>> {
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto size()
requires sized_range<_View>
{
- return std::__to_unsigned_like(ranges::__div_ceil(ranges::distance(__base_), __stride_));
+ return std::__to_unsigned_like(__div_ceil(ranges::distance(__base_), __stride_));
----------------
huixie90 wrote:
Please do not use ADL. `std::__div_ceil`
https://github.com/llvm/llvm-project/pull/171234
More information about the libcxx-commits
mailing list