Implements parts of:
- P0898R3 Standard Library Concepts
- P1754 Rename concepts to standard_case for C++20, while we still can
Depends on D96742
Differential D97162
[libcxx] adds std::ranges::swap, std::swappable, and std::swappable_with cjdb on Feb 21 2021, 1:29 PM. Authored by
Details Implements parts of:
Depends on D96742
Diff Detail
Event TimelineComment Actions I'm committing swappable independently from swappable_with so that I can get movable, copyable, semiregular and regular out first (all of which are arguably more important than swappable_with). Comment Actions I find the tests really hard to read and follow. I think giving the lambdas an explicit name would be really beneficial.
Comment Actions Not a real review, just a couple drive-by comments. I'm unlikely to do a real review. :)
Comment Actions Not a maintainer, but this looks good to me
Comment Actions LGTM assuming the inline comments get addressed.
|
I think this is already covered by the explicit _Size parameter