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

Konstantin Varlamov via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 4 02:42:18 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/D149832

Files:
  libcxx/docs/Status/Cxx2bPapers.csv
  libcxx/include/__ranges/container_compatible_range.h
  libcxx/include/__ranges/from_range.h
  libcxx/include/string
  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/strings/basic.string/string.cons/from_range.pass.cpp
  libcxx/test/std/strings/basic.string/string.cons/from_range_deduction.pass.cpp
  libcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp
  libcxx/test/std/strings/basic.string/string.modifiers/string_append/append_range.pass.cpp
  libcxx/test/std/strings/basic.string/string.modifiers/string_assign/assign_range.pass.cpp
  libcxx/test/std/strings/basic.string/string.modifiers/string_insert/insert_range.pass.cpp
  libcxx/test/std/strings/basic.string/string.modifiers/string_replace/replace_with_range.pass.cpp
  libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp
  libcxx/test/support/deduction_guides_sfinae_checks.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149832.519401.patch
Type: text/x-patch
Size: 121910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230504/9ce168bd/attachment-0001.bin>


More information about the libcxx-commits mailing list