[libcxx-commits] [PATCH] D123462: [libc++] Implement ranges::fill{, _n}
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 25 06:34:57 PDT 2022
ldionne added inline comments.
================
Comment at: libcxx/include/__algorithm/ranges_fill_n.h:29
+ _LIBCPP_HIDE_FROM_ABI constexpr
+ _Iter operator()(_Iter __first, iter_difference_t<_Iter> __n, const _Type& __value) const {
+ for (; __n != 0; --__n) {
----------------
Is there any reason for not using `std::__fill_n`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123462/new/
https://reviews.llvm.org/D123462
More information about the libcxx-commits
mailing list