This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Initialized variables for compilers that do not allow this in constexpr.
AbandonedPublic

Authored by mpark on Nov 7 2019, 3:53 AM.

Details

Summary

In C++20, variables in constexpr contexts are not required to be initialized.
But there are released compilers that do not implement this under -std=c++2a.

Event Timeline

mpark created this revision.Nov 7 2019, 3:53 AM
Herald added a project: Restricted Project. · View Herald Transcript
mpark abandoned this revision.Nov 7 2019, 5:24 AM