-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
<xutility>: Investigate precomposed unwrapped range access CPOs #898
Labels
Comments
CaseyCarter
added a commit
to CaseyCarter/STL
that referenced
this issue
Jun 16, 2020
...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
added a commit
to CaseyCarter/STL
that referenced
this issue
Jun 16, 2020
...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
added
enhancement
Something can be improved
and removed
throughput
Must compile faster
labels
Jun 16, 2020
StephanTLavavej
pushed a commit
that referenced
this issue
Jun 20, 2020
StephanTLavavej
added
fixed
Something works now, yay!
and removed
work in progress
labels
Jun 20, 2020
ahanamuk
pushed a commit
to ahanamuk/STL
that referenced
this issue
Jun 25, 2020
ahanamuk
pushed a commit
to ahanamuk/STL
that referenced
this issue
Jun 26, 2020
ahanamuk
pushed a commit
to ahanamuk/STL
that referenced
this issue
Jun 29, 2020
ahanamuk
pushed a commit
to ahanamuk/STL
that referenced
this issue
Jul 1, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a great many occurrences of
_Get_unwrapped(_RANGES begin(some_range))
and_Get_unwrapped(_RANGES end(some_range))
in the Ranges algorithms. We should consider providing precomposed "begin-and-unwrap" and "end-and-unwrap" (_Begin_unwrapped
and_End_unwrapped
?) CPOs (1) to improve readability, and (2) to possibly improve throughput by calling_Unchecked_begin
and_Unchecked_end
members on ranges that implement them to get an unwrapped iterator directly.The text was updated successfully, but these errors were encountered: