[all-commits] [llvm/llvm-project] 01ace0: [libc++] Implements ranges::enable_borrowed_range

mordante via All-commits all-commits at lists.llvm.org
Sun Apr 18 04:35:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01ace074fcb6a497fc16b1578fc10480dc7d563d
      https://github.com/llvm/llvm-project/commit/01ace074fcb6a497fc16b1578fc10480dc7d563d
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-04-18 (Sun, 18 Apr 2021)

  Changed paths:
    M libcxx/docs/Cxx2aStatusIssuesStatus.csv
    M libcxx/docs/Cxx2aStatusPaperStatus.csv
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__ranges/enable_borrowed_range.h
    M libcxx/include/module.modulemap
    A libcxx/include/ranges
    M libcxx/include/span
    M libcxx/include/string_view
    M libcxx/test/libcxx/double_include.sh.cpp
    A libcxx/test/libcxx/inclusions/ranges.inclusions.compile.pass.cpp
    M libcxx/test/libcxx/min_max_macros.compile.pass.cpp
    M libcxx/test/libcxx/no_assert_include.compile.pass.cpp
    A libcxx/test/libcxx/ranges/version.compile.pass.cpp
    A libcxx/test/std/containers/views/enable_borrowed_range.compile.pass.cpp
    A libcxx/test/std/language.support/support.limits/support.limits.general/ranges.version.pass.cpp
    A libcxx/test/std/ranges/range.range/enable_borrowed_range.compile.pass.cpp
    A libcxx/test/std/strings/string.view/enable_borrowed_range.compile.pass.cpp
    M libcxx/utils/generate_header_inclusion_tests.py

  Log Message:
  -----------
  [libc++] Implements ranges::enable_borrowed_range

This is the initial patch to implement ranges in libc++.

Implements parts of:
- P0896R4 One Ranges Proposal
- P1870 forwarding-range is too subtle
- LWG3379 in several library names is misleading

Reviewed By: ldionne, #libc, cjdb, zoecarver, Quuxplusone

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




More information about the All-commits mailing list