Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement ranges::subrange and ranges::view_interface #734

Merged
merged 4 commits into from
Apr 25, 2020

Commits on Apr 21, 2020

  1. Implement ranges::subrange and ranges::view_interface

    Product changes:
    `<utility>`: declare `tuple`'s overloads of `std::get` so they are visible to the definition of `subrange`'s `_Pair_like` concept in `<xutility>`.
    `<xutility>`: Implementations of `subrange`, `view_interface`, and `borrowed_subrange_t`.
    
    Test changes:
    `std/include/range_algorithm_support.hpp`: Remove `iter_move` overload landmine for non-`indirectly_readable` `test_iterator`s that hampers detection.
    `std/tests/P0896R4_ranges_algorithm_machinery`: Enable `borrowed_subrange_t` smoke test.
    `std/tests/P0896R4_ranges_range_machinery`: Validate that `subrange` is a `borrowed_range`.
    `std/tests/P0896R4_ranges_subrange`: New test to cover `subrange` and `view_interface`.
    CaseyCarter committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    620dc8e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

  1. Review comments

    CaseyCarter committed Apr 22, 2020
    Configuration menu
    Copy the full SHA
    42cd452 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eaeaf79 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Review comments round 2

    CaseyCarter committed Apr 23, 2020
    Configuration menu
    Copy the full SHA
    3e0b523 View commit details
    Browse the repository at this point in the history