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

Don't throw arbitrary iterators at sized_sentinel_for #5027

Merged
merged 3 commits into from
Oct 20, 2024

Conversation

CaseyCarter
Copy link
Member

@CaseyCarter CaseyCarter commented Oct 18, 2024

  • Split _Idl_distance into Ranges and pre-Ranges flavors. Who put their Ranges in my peanut butter??!?
  • Move _STD _Idl_dist_min into ranges for consistency.

Fixes VSO-2285862 and VSO-2285916. (Currently validating.)

This is a mirror of MSVC-PR-586447. (I created the mirror PR early so I can verify this fixes things that #5015 broke in RWC.)

* Split `_Idl_distance` into Ranges and pre-Ranges flavors. Who put their Ranges in my peanut butter??!?
* Move `_STD _Idl_dist_min` into `ranges` for consistency.

Fixes VSO-2285862 and VSO-2285916.
@CaseyCarter CaseyCarter added the bug Something isn't working label Oct 18, 2024
@CaseyCarter CaseyCarter requested a review from a team as a code owner October 18, 2024 19:56
@CaseyCarter CaseyCarter self-assigned this Oct 18, 2024
@StephanTLavavej
Copy link
Member

Hahaha - I noticed the missing namespace-closing comment in the internal PR without having run clang-format outside of my brain. 🧠 💯 🧙‍♂️

@CaseyCarter
Copy link
Member Author

CaseyCarter commented Oct 18, 2024

Hahaha - I noticed the missing namespace-closing comment in the internal PR without having run clang-format outside of my brain. 🧠 💯 🧙‍♂️

VS Code has been driving me nuts the last couple of updates deciding to not format-on-save seemingly at random. I suppose I shouldn't complain, I at least figured out how to stop the C++ extension from deciding xutility is C.

microsoft#5015 unskipped these, they now go through the same old codepath.
stl/inc/algorithm Show resolved Hide resolved
@StephanTLavavej StephanTLavavej merged commit e0ad9c3 into microsoft:main Oct 20, 2024
39 checks passed
@StephanTLavavej
Copy link
Member

Thanks for fixing this up! 🛠️ 🪄 🐈‍⬛

@CaseyCarter CaseyCarter deleted the idl_distance-fix branch October 30, 2024 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants