[PATCH] D41223: [libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types.

Jacob Bandes-Storch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 23:01:48 PST 2020


jtbandes added a comment.
Herald added subscribers: arphaman, ldionne.
Herald added a project: LLVM.

The lack of `_LIBCPP_CONSTEXPR_AFTER_CXX14` on the `array<T, 0>` specialization's `begin()`, `end()`, and other methods seems to be a bug: https://stackoverflow.com/questions/60462569/empty-stdarrayt-0-doesnt-have-constexpr-begin


Repository:
  rL LLVM

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

https://reviews.llvm.org/D41223





More information about the cfe-commits mailing list