Skip to content

Implement LWG-3557: The static_cast expression in convertible_to has the wrong operand#2406

Merged
StephanTLavavej merged 3 commits intomicrosoft:mainfrom
fsb4000:fix2394
Dec 17, 2021
Merged

Implement LWG-3557: The static_cast expression in convertible_to has the wrong operand#2406
StephanTLavavej merged 3 commits intomicrosoft:mainfrom
fsb4000:fix2394

Conversation

@fsb4000
Copy link
Contributor

@fsb4000 fsb4000 commented Dec 11, 2021

Fixes #2394

@fsb4000 fsb4000 requested a review from a team as a code owner December 11, 2021 17:46
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@gmail.com>
@fsb4000 fsb4000 changed the title Implement LWG-3557 Implement LWG-3557: The static_cast expression in convertible_to has the wrong operand Dec 12, 2021
@CaseyCarter CaseyCarter added the LWG Library Working Group issue label Dec 12, 2021
Copy link
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

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

For posterity: I'm fine accepting this without test changes because the before and after conditions have equivalent observable behavior. This change is really a specification tweak masquerading as a change in product code.

@StephanTLavavej StephanTLavavej self-assigned this Dec 16, 2021
@StephanTLavavej
Copy link
Member

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

@StephanTLavavej StephanTLavavej merged commit 4b9ab17 into microsoft:main Dec 17, 2021
@StephanTLavavej
Copy link
Member

Thanks for implementing another LWG issue resolution! 🚀 🚀 😻

@fsb4000 fsb4000 deleted the fix2394 branch December 17, 2021 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LWG Library Working Group issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LWG-3557 The static_cast expression in convertible_to has the wrong operand

5 participants