Converging toward P0896R3 (algorithms and special memory algorithms) #190
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.
This commit moves cmcstl2 closer toward what will be in P0896R3 for San Diego.
Changes
tagged.hpp
in the wake of named return types.STL2_WORKAROUND_GCC_79591
, as this bug doesn't seem to surface when ausing
declaration is made in a class definition.Rng
has been renamed toR
.safe_iterator_t
now disallows rvalues: as @CaseyCarter predicted on Slack, this is problematic when passing range adapters into algorithms.What's missing?
shuffle
yet, but I imagine it'll follow the same formula. I can add it to this branch, or I can add it to a different one.Things that must happen before merging with master:
find_end
is uncommitted (and incomplete) on my work computer, so I've disabled compiling that test to get this PR up early. It'll need to be committed before merging, as there are very likely issues withfind_end
that I haven't had the opportunity to pick up on yet.Issues this might close
Issues this pull request opens
nth_element
usesgoto
.