This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Fix LWG3557 "static_cast expression in convertible_to has the wrong operand"
ClosedPublic

Authored by Quuxplusone on Jan 22 2022, 12:31 PM.

Details

Summary

https://cplusplus.github.io/LWG/issue3557

I think the code change is unobservable, so we could just close this as "Nothing To Do" instead; but it seems appropriate to follow the Standard's wording here as closely as possible.

Diff Detail

Event Timeline

Quuxplusone requested review of this revision.Jan 22 2022, 12:31 PM
Quuxplusone created this revision.
Herald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptJan 22 2022, 12:31 PM
Mordante accepted this revision as: Mordante.Jan 23 2022, 4:37 AM
Mordante added a subscriber: Mordante.

+1 for following the Standard's wording.

LGTM!

This revision was not accepted when it landed; it landed in state Needs Review.Jan 26 2022, 4:37 PM
This revision was automatically updated to reflect the committed changes.