[libcxx-commits] [PATCH] D115315: [libc++][ranges] Implement ranges::uninitialized_default_construct{, _n}.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 7 20:07:48 PST 2021


var-const created this revision.
Herald added a subscriber: mgorny.
var-const requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Defined in [`specialized.algorithms`](wg21.link/specialized.algorithms).

Also refactor the existing non-range implementation so that most of it
can be shared between the range-based and non-range-based algorithms.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115315

Files:
  libcxx/docs/Status/RangesPaper.csv
  libcxx/include/CMakeLists.txt
  libcxx/include/__memory/ranges_uninitialized_algorithms.h
  libcxx/include/__memory/uninitialized_algorithms.h
  libcxx/include/memory
  libcxx/include/module.modulemap
  libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ranges_uninitialized_default_construct_n.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/special_function.compile.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/uninitialized_default_construct.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115315.392628.patch
Type: text/x-patch
Size: 23270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211208/1c1e019b/attachment-0001.bin>


More information about the libcxx-commits mailing list