[libcxx-commits] [PATCH] D149826: [libc++][ranges] Implement the changes to vector from P1206 (`ranges::to`):

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 4 02:13:55 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 `insert_range`/`assign_range`/etc. member functions.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149826

Files:
  libcxx/docs/Status/Cxx2bPapers.csv
  libcxx/include/__ranges/container_compatible_range.h
  libcxx/include/__ranges/from_range.h
  libcxx/include/__split_buffer
  libcxx/include/vector
  libcxx/test/std/containers/from_range_helpers.h
  libcxx/test/std/containers/insert_range_helpers.h
  libcxx/test/std/containers/sequences/from_range_sequence_containers.h
  libcxx/test/std/containers/sequences/insert_range_sequence_containers.h
  libcxx/test/std/containers/sequences/vector.bool/append_range.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/assign_range.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/construct_from_range.pass.cpp
  libcxx/test/std/containers/sequences/vector.bool/insert_range.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_from_range.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/deduct.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/exceptions.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/append_range.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/assign_range.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_range.pass.cpp
  libcxx/test/support/deduction_guides_sfinae_checks.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149826.519392.patch
Type: text/x-patch
Size: 113792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230504/7091c337/attachment-0001.bin>


More information about the libcxx-commits mailing list