[libcxx-commits] [PATCH] D60666: Fix some constexpr members in array<T, 0>

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 14 09:48:03 PDT 2019


EricWF requested changes to this revision.
EricWF added a comment.
This revision now requires changes to proceed.

This doesn't work for a number of reasons. First, the destructor is only trivial when all the union members are. second, you can't put constexpr on functions that never produce a valid constant expression


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60666/new/

https://reviews.llvm.org/D60666





More information about the libcxx-commits mailing list