[libcxx-commits] [PATCH] D116078: [libc++][ranges] Implement `construct_at` and `destroy{, _at}`.

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 12 14:33:09 PST 2022


var-const updated this revision to Diff 399474.
var-const added a comment.

Replace the use of concepts in the `construct_at` test with SFINAE. While
`construct_at` requires C++20, older compiler versions might not implement
concepts in that mode.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116078/new/

https://reviews.llvm.org/D116078

Files:
  libcxx/docs/Status/RangesAlgorithms.csv
  libcxx/docs/Status/RangesPaper.csv
  libcxx/include/CMakeLists.txt
  libcxx/include/__memory/construct_at.h
  libcxx/include/__memory/ranges_construct_at.h
  libcxx/include/memory
  libcxx/include/module.modulemap
  libcxx/test/libcxx/diagnostics/detail.headers/memory/ranges_construct_at.module.verify.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/ranges_construct_at.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ranges_destroy.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ranges_destroy_at.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ranges_destroy_n.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116078.399474.patch
Type: text/x-patch
Size: 37907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220112/edc0e7f9/attachment-0001.bin>


More information about the libcxx-commits mailing list