Fix uninitialized_meow memcpy optimization#1548
Merged
StephanTLavavej merged 6 commits intomicrosoft:mainfrom Feb 18, 2021
Merged
Fix uninitialized_meow memcpy optimization#1548StephanTLavavej merged 6 commits intomicrosoft:mainfrom
StephanTLavavej merged 6 commits intomicrosoft:mainfrom
Conversation
c0d8bcc to
3f57e85
Compare
Member
|
It looks like the bug being fixed here is that the code was simply failing to compile - is that correct? |
Contributor
Author
|
Yes indeed |
Contributor
Author
|
Urgh, this is more broken than I thought. I need to add way more tests for ranges of different length. Also the |
6876e51 to
e1f1a9b
Compare
Contributor
Author
|
Fixed more bugs and added more tests |
e1f1a9b to
43fa0b5
Compare
43fa0b5 to
342b431
Compare
StephanTLavavej
approved these changes
Feb 12, 2021
CaseyCarter
suggested changes
Feb 12, 2021
d9f5940 to
fe9e00e
Compare
fe9e00e to
d5025c3
Compare
CaseyCarter
approved these changes
Feb 16, 2021
tests/std/tests/P0896R4_ranges_alg_uninitialized_move_n/test.cpp
Outdated
Show resolved
Hide resolved
StephanTLavavej
approved these changes
Feb 18, 2021
CaseyCarter
approved these changes
Feb 18, 2021
Member
|
(That's Cat for "Thanks for fixing this bug in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Found by accident. Added some tests for the copy/move code pathes.