Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@frederick-vs-ja
Copy link
Contributor

@frederick-vs-ja frederick-vs-ja commented Jun 23, 2023

As if it is a Defect Report against C++20. Fixes #3801.

Notes: the base class which conditionally provides difference_type also seemly needs to be ADL-proof.

Unfortunately, the changes are not so awesome at this moment, because MSVC STL hasn't avoided extraneous ADL in most standard algorithms (#140, #1596).

Driven-by: test P2609R3_relaxing_ranges_just_a_smidge in C++20 mode.

Driven by: test `P2609R3_relaxing_ranges_just_a_smidge` in C++20 mode.
@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner June 23, 2023 02:24
@StephanTLavavej
Copy link
Member

Thanks, looks perfect! ✨ 🎉

@StephanTLavavej
Copy link
Member

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

… struct 'Incomplete'" despite std::variant's ADL defenses
@StephanTLavavej
Copy link
Member

I've had to push an additional commit to work around VSO-1659496 "/clr emits bogus error C2079 "uses undefined struct 'Incomplete'" despite std::variant's ADL defenses".

FYI @strega-nil-ms as you previously approved.

@strega-nil-ms

This comment was marked as resolved.

@microsoft microsoft deleted a comment from azure-pipelines bot Jul 13, 2023
@StephanTLavavej StephanTLavavej merged commit cc6533a into microsoft:main Jul 14, 2023
@StephanTLavavej
Copy link
Member

Thanks for implementing this feature backwards in time! ⏳ ✅ 🎉

@frederick-vs-ja frederick-vs-ja deleted the p2538r1 branch July 14, 2023 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx26 C++26 feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P2538R1 ADL-Proof projected

4 participants