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

<ranges>: Replace one improper use of _Iter_value_t with iter_value_t in _Stable_sort_fn #4628

Merged

Conversation

frederick-vs-ja
Copy link
Contributor

As the use of _Iter_value_t appeared within the implementation details of C++20 ranges::stable_sort, it should be replaced with iter_value_t.

See also #4436 (comment) - this should be the only occurence of _Iter_value_t that "Should always be C++20 iter_value_t".

As the use of `_Iter_value_t` appeared within the implementation details of C++20 `ranges::stable_sort`, it should be replaced with `iter_value_t`.
@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner April 25, 2024 03:45
@StephanTLavavej StephanTLavavej added enhancement Something can be improved ranges C++20/23 ranges labels Apr 25, 2024
@StephanTLavavej StephanTLavavej self-assigned this Apr 26, 2024
@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 825a0e0 into microsoft:main Apr 27, 2024
39 checks passed
@StephanTLavavej
Copy link
Member

Thanks for noticing this tiny cleanup among megabytes of source code! 🎯 😸 🧹

@frederick-vs-ja frederick-vs-ja deleted the iter_value_t-for-stable_sort branch April 27, 2024 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved ranges C++20/23 ranges
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants