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

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 30 13:06:59 PDT 2019


zoecarver added a comment.

I think it would be good to have an LWG issue that says something along the lines of, `22.3.7.5` is updated to say:

> array shall provide support for the special case N == 0.
>  In the case that N == 0, begin() == end() == unique value. All member functions remain `constexpr`.
>  No element access members shall participate in overload resolution.
>  Member function swap() shall have a non-throwing exception specification.

Thoughts?


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

https://reviews.llvm.org/D60666





More information about the libcxx-commits mailing list