[Bug c++/98216] [C++20] std::array<double, N> template parameter error with negative values

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 10 07:33:25 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98216

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I guess the issue has to be with you using 'static constexpr auto arr' and
that not being correctly templated on the expression.

Well, confirmed your observation.


More information about the Gcc-bugs mailing list