Skip to content

Clang support for LWG-3617 function/packaged_task deduction guides and deducing this - #5921

Merged
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
StephanTLavavej:clang-deducing-this
Dec 1, 2025
Merged

Clang support for LWG-3617 function/packaged_task deduction guides and deducing this#5921
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
StephanTLavavej:clang-deducing-this

Conversation

@StephanTLavavej

Copy link
Copy Markdown
Member

We merged #2966 on 2022-08-05, shipped in VS 2022 17.4, for MSVC and EDG. At that time, we were requiring Clang 14, which didn't support "deducing this".

In VS 2022 17.14, we began requiring Clang 19, which added support for "deducing this". I didn't notice this in #5247 merged on 2025-01-24. Nobody else noticed either, but it's my job! 😹

We should activate the product and test code for this LWG issue resolution for Clang now.

This should have been done for Clang 19.
@StephanTLavavej

Copy link
Copy Markdown
Member Author

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

@zacklj89 Zack Johnson (zacklj89) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did this come to you in a thanksgiving fever dream? 🤣

@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) moved this from Final Review to Merging in STL Code Reviews Dec 1, 2025
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit f9db62a into microsoft:main Dec 1, 2025
45 checks passed
@github-project-automation github-project-automation Bot moved this from Merging to Done in STL Code Reviews Dec 1, 2025
@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) deleted the clang-deducing-this branch December 1, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants