[libcxx-commits] [PATCH] D149829: [libc++][ranges] Implement the changes to container adaptors from P1206 (`ranges::to`):

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 4 02:28:33 PDT 2023


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

- add the `from_range_t` constructors and the related deduction guides;
- add the `push_range` member function.

(Note: this patch is split from https://reviews.llvm.org/D142335)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149829

Files:
  libcxx/docs/Status/Cxx2bPapers.csv
  libcxx/include/__ranges/container_compatible_range.h
  libcxx/include/__ranges/from_range.h
  libcxx/include/queue
  libcxx/include/stack
  libcxx/test/std/containers/container.adaptors/from_range_container_adaptors.h
  libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.pass.cpp
  libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/from_range.pass.cpp
  libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.members/push_range.pass.cpp
  libcxx/test/std/containers/container.adaptors/push_range_container_adaptors.h
  libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
  libcxx/test/std/containers/container.adaptors/queue/queue.cons/from_range.pass.cpp
  libcxx/test/std/containers/container.adaptors/queue/queue.defn/push_range.pass.cpp
  libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
  libcxx/test/std/containers/container.adaptors/stack/stack.cons/from_range.pass.cpp
  libcxx/test/std/containers/container.adaptors/stack/stack.defn/push_range.pass.cpp
  libcxx/test/std/containers/from_range_helpers.h
  libcxx/test/std/containers/insert_range_helpers.h
  libcxx/test/support/deduction_guides_sfinae_checks.h
  libcxx/test/support/unwrap_container_adaptor.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149829.519396.patch
Type: text/x-patch
Size: 72177 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230504/5d84581a/attachment-0001.bin>


More information about the libcxx-commits mailing list