-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix uninitialized_meow memcpy optimization #1548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix uninitialized_meow memcpy optimization #1548
Conversation
c0d8bcc to
3f57e85
Compare
|
It looks like the bug being fixed here is that the code was simply failing to compile - is that correct? |
|
Yes indeed |
|
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
|
Fixed more bugs and added more tests |
e1f1a9b to
43fa0b5
Compare
43fa0b5 to
342b431
Compare
d9f5940 to
fe9e00e
Compare
fe9e00e to
d5025c3
Compare
tests/std/tests/P0896R4_ranges_alg_uninitialized_move_n/test.cpp
Outdated
Show resolved
Hide resolved
|
(That's Cat for "Thanks for fixing this bug in |
Found by accident. Added some tests for the copy/move code pathes.