[all-commits] [llvm/llvm-project] c16b13: [libc++] Implement P1989R2: range constructor for ...

Joseph Loser via All-commits all-commits at lists.llvm.org
Wed Dec 1 20:18:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c16b13ebf97753a84cb7062c4c1ac984851de4b9
      https://github.com/llvm/llvm-project/commit/c16b13ebf97753a84cb7062c4c1ac984851de4b9
  Author: Joe Loser <joeloser93 at gmail.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

  Changed paths:
    M libcxx/docs/Status/Cxx2bPapers.csv
    M libcxx/include/filesystem
    M libcxx/include/string_view
    R libcxx/test/std/strings/string.view/string.view.cons/deduct.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.cons/from_range.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.deduct/iterator_sentinel.pass.cpp
    A libcxx/test/std/strings/string.view/string.view.deduct/range.pass.cpp

  Log Message:
  -----------
  [libc++] Implement P1989R2: range constructor for string_view

Implement P1989R2 which adds a range constructor for `string_view`.

Adjust `operator/=` in `path` to avoid atomic constraints caching issue
getting provoked from this PR.

Add defaulted template argument to `string_view`'s "sufficient
overloads" to avoid mangling issues in `clang-cl` builds. It is a
MSVC mangling bug that this works around.

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




More information about the All-commits mailing list