This is an archive of the discontinued LLVM Phabricator instance.

C++ DR2394: Const-default-constructible for members.
ClosedPublic

Authored by jyknight on May 22 2022, 7:33 AM.

Details

Summary

Const class members may be initialized with a defaulted default
constructor under the same conditions it would be allowed for a const
object elsewhere.

Diff Detail

Event Timeline

jyknight created this revision.May 22 2022, 7:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 22 2022, 7:33 AM
jyknight requested review of this revision.May 22 2022, 7:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 22 2022, 7:33 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
aaron.ballman accepted this revision.May 25 2022, 10:04 AM

LGTM (minor nit with release notes, take it or leave it at your discretion).

clang/docs/ReleaseNotes.rst
158
This revision is now accepted and ready to land.May 25 2022, 10:04 AM
This revision was landed with ongoing or failed builds.May 25 2022, 11:57 AM
This revision was automatically updated to reflect the committed changes.