Skip to content

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

Merged
Stephan T. Lavavej (StephanTLavavej) merged 3 commits into
microsoft:mainfrom
fsb4000:fix2394
Dec 17, 2021
Merged

Implement LWG-3557: The static_cast expression in convertible_to has the wrong operand#2406
Stephan T. Lavavej (StephanTLavavej) merged 3 commits into
microsoft:mainfrom
fsb4000:fix2394

Conversation

@fsb4000

Copy link
Copy Markdown
Contributor

Fixes #2394

@fsb4000
Igor Zhukov (fsb4000) requested a review from a team as a code owner December 11, 2021 17:46
Comment thread stl/inc/concepts Outdated
Co-authored-by: Michael Schellenberger Costa <mschellenbergercosta@gmail.com>
@fsb4000 Igor Zhukov (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 Casey Carter (CaseyCarter) added the LWG Library Working Group issue label Dec 12, 2021

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member

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

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 4b9ab17 into microsoft:main Dec 17, 2021
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for implementing another LWG issue resolution! 🚀 🚀 😻

@fsb4000
Igor Zhukov (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