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
Mordante on Nov 7 2020, 1:30 AM.Authored by
I am wondering whether we should split the ranges header up into a smaller part that we use to include in other headers adn the rest.
Including all of ranges just for one trait seems a bit of an overkill.
We could always add it to concepts as that should be a transitive include for everything that includes range. Thoughts @ldionne?
I agree including the full ranges header in string_view and span feels a bit overkill. But I'll leave the decisions whether or not to split the header with the libc++ maintainers.