P2393R1 Cleaning Up Integer-Class Types #2541
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Our integer-class types (
_Signed128
and_Unsigned128
) were implemented to the revised wording, so they require no changes.We do need the
subrange
constructor change.We don't need the
drop_view
,take_view
,views::counted
, andviews::take
changes. We already implement them or something functionally equivalent.Update
<yvals_core.h>
to indicate that P2393R1 is implemented in C++20 (and later) modes.Drive-by: Indicate that P1522 is now fully implemented in
<yvals_core.h>
.Fixes #2254
There's no test coverage here because it just seems silly to write two ranges with custom iterators just to verify the presence of one
static_cast
. As always, reviewers - yell at me if you disagree.