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

Implement ranges::_Ubegin and ranges::_Uend CPOs #901

Merged
merged 3 commits into from
Jun 20, 2020

Conversation

CaseyCarter
Copy link
Member

...which call _Unchecked_begin and _Unchecked_end when present, and fall back to _Get_unwrapped(begin(...)) (resp. _Get_unwrapped(end(....))) otherwise.

Fixes #898.

...which call `_Unchecked_begin` and `_Unchecked_end` when present, and fall back to `_Get_unwrapped(begin(...))` (resp. `_Get_unwrapped(end(....))`) otherwise.

Fixes microsoft#898.
@CaseyCarter CaseyCarter requested a review from a team as a code owner June 16, 2020 15:51
@CaseyCarter CaseyCarter added the enhancement Something can be improved label Jun 16, 2020
Casey's review feedback
@miscco
Copy link
Contributor

miscco commented Jun 16, 2020

I am slightly grumpy that I couldnt even find a nit.

👍

stl/inc/xutility Show resolved Hide resolved
@mnatsuhara mnatsuhara self-assigned this Jun 17, 2020
stl/inc/xutility Show resolved Hide resolved
stl/inc/xutility Show resolved Hide resolved
@StephanTLavavej StephanTLavavej changed the title Implement ranges::_Ubegin and ranges:_Uend CPOs Implement ranges::_Ubegin and ranges::_Uend CPOs Jun 20, 2020
@StephanTLavavej StephanTLavavej merged commit 65df32e into microsoft:master Jun 20, 2020
@StephanTLavavej
Copy link
Member

Thanks for making it easier to read the implementations of ranges algorithms! 🐈

@CaseyCarter CaseyCarter deleted the ubegin_uend branch June 24, 2020 14:49
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jun 25, 2020
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jun 26, 2020
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jun 29, 2020
ahanamuk pushed a commit to ahanamuk/STL that referenced this pull request Jul 1, 2020
@StephanTLavavej StephanTLavavej added the ranges C++20/23 ranges label Jul 22, 2020
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
None yet
Development

Successfully merging this pull request may close these issues.

<xutility>: Investigate precomposed unwrapped range access CPOs
5 participants