[all-commits] [llvm/llvm-project] baf6f9: [libc++][ranges] Implement the changes to `basic_s...

Konstantin Varlamov via All-commits all-commits at lists.llvm.org
Wed Jul 5 14:51:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baf6f91851edcdd72e3a6214299f295ec58337f6
      https://github.com/llvm/llvm-project/commit/baf6f91851edcdd72e3a6214299f295ec58337f6
  Author: varconst <varconsteq at gmail.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M libcxx/include/string
    A libcxx/test/std/strings/basic.string/string.cons/from_range.pass.cpp
    A libcxx/test/std/strings/basic.string/string.cons/from_range_deduction.pass.cpp
    M libcxx/test/std/strings/basic.string/string.cons/iter_alloc_deduction.pass.cpp
    A libcxx/test/std/strings/basic.string/string.modifiers/string_append/append_range.pass.cpp
    A libcxx/test/std/strings/basic.string/string.modifiers/string_assign/assign_range.pass.cpp
    A libcxx/test/std/strings/basic.string/string.modifiers/string_insert/insert_range.pass.cpp
    A libcxx/test/std/strings/basic.string/string.modifiers/string_replace/replace_with_range.pass.cpp

  Log Message:
  -----------
  [libc++][ranges] Implement the changes to `basic_string` from P1206 (`ranges::to`):

- 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)

Differential Revision: https://reviews.llvm.org/D149832




More information about the All-commits mailing list