-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add casts to vector algorithms entry points #5471
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
Merged
StephanTLavavej
merged 26 commits into
microsoft:main
from
AlexGuteniev:different-difference
May 10, 2025
Merged
Changes from 15 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
178599f
Test vector algorithms
AlexGuteniev 823dc00
Fix the bug
AlexGuteniev 41db162
let's make magic_word actual word
AlexGuteniev d69da0a
more angry test iterator
AlexGuteniev 34965c4
more casts
AlexGuteniev 5a0f2b8
C++20 difference
AlexGuteniev 234bd65
even more angry test iterator
AlexGuteniev c9469cf
even more casts
AlexGuteniev 9527691
let's actually call him picky
AlexGuteniev f3cee6f
actually a class
AlexGuteniev 03b0ac7
minor consistency improvements
AlexGuteniev 23e71d1
no need values
AlexGuteniev 76e5c10
spelling
AlexGuteniev c276b0e
Code reuse!
AlexGuteniev e83cd78
three way
AlexGuteniev fee77dd
iterator type copypasta error
AlexGuteniev b899e10
update test.lst
AlexGuteniev cba2f41
Call out replace_copy precisely
AlexGuteniev f560bfd
Scopes and const
AlexGuteniev 683554c
Cosmetic: Use `_Iter_diff_t<decltype(_UFirst)>` when adding to `_UFir…
StephanTLavavej cf6ca5b
Include `<utility>`.
StephanTLavavej 513c512
Zero-fill arr_dest before remove_copy and unique_copy.
StephanTLavavej 13be96b
Fix comment: bits, not bytes.
StephanTLavavej 7cab15b
Clarify comment about search and find_end.
StephanTLavavej e34e62f
Simplify arr_src and arr_dest into temp.
StephanTLavavej 643f7b7
Extract temp_mid.
StephanTLavavej File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.