2016-05-13 14:05 GMT+02:00 Ed Rosten <
e...@edwardrosten.com>:
>
> I'm planning on writing a proposal to make all relevant methods of
> std::array constexpr. This will make the std::array type useful for compile
> time manipulation of arrays. My current motivation for this is to make it
> easy to compute lookup tables, a minimal example being:
Which working draft are you looking at? std::array is now fully
constexpr except for
void fill(const T& u);
void swap(array&) noexcept(is_nothrow_swappable_v<T>);
after acceptance of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0107r0.pdf
I would say, that your proposal is not needed any more.
- Daniel