Skip to content
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

ADL-proof implementation of erase_if and related algorithms #4217

Merged
merged 2 commits into from
Nov 29, 2023

Conversation

frederick-vs-ja
Copy link
Contributor

@frederick-vs-ja frederick-vs-ja commented Nov 25, 2023

Towards #140 and #1596. Note that there'll be a merge conflict with #4216.

_STD-qualification for internal functions should become complete for following headers:

  • experimental/deque
  • experimental/forward_list
  • experimental/list
  • experimental/map
  • experimental/set
  • experimental/string
  • experimental/unordered_map
  • experimental/unordered_set
  • experimental/vector

Unfortunately, I failed to find how to test ADL-proofness for std::(experimental::)erase. Not sure whether this is possible.

Edit: Overloads for flat_meow also need to fixed, but perhaps this should be done after the main branch is updated. Overloads for flat_(multi)set are already fixed in #4050.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner November 25, 2023 13:29
@StephanTLavavej StephanTLavavej added the bug Something isn't working label Nov 27, 2023
@StephanTLavavej StephanTLavavej self-assigned this Nov 27, 2023
@StephanTLavavej StephanTLavavej removed their assignment Nov 29, 2023
@StephanTLavavej
Copy link
Member

Thanks! I pre-emptively pushed a /clr workaround and I think this needs only one maintainer approval.

@StephanTLavavej StephanTLavavej self-assigned this Nov 29, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 21b16b4 into microsoft:main Nov 29, 2023
35 checks passed
@StephanTLavavej
Copy link
Member

Thanks for improving my favorite algorithms! 🎉 🥇 😻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants