Implements parts of:
- P0898R3 Standard Library Concepts
- P1754 Rename concepts to standard_case for C++20, while we still can
Depends on D77961
Differential D96230
[libcxx] adds concept `std::move_constructible` cjdb on Feb 7 2021, 6:05 PM. Authored by
Details
Implements parts of:
Depends on D77961
Diff Detail
Event TimelineComment Actions Do we need to do some tests on
Comment Actions The compiler doesn't check the semantic requirements (right now), so there's nothing to test. If we decide to promote violating the semantic requirements from IFNDR to ill-formed, that's when adding the tests will be helpful (right now they'd likely get in the way). Comment Actions SGTM. Just a bit surprised the Standard doesn't require more tests. Especially surprised by std::invocable and std::regular_invocable that they're the same. But I assume it has something to do with hard to validate. No more comment, so LGTM. Comment Actions LGTM after you've considered my comments. You can update the review if you want to re-trigger CI, but no need to wait for my approval. This is great, thanks!
|
Since the tests only has static_asserts it could be made a compile-time test. That can be done by renaming the file to move_constructible.compile.pass.cpp