[Bug c++/97665] constexpr union array member incorrectly rejected as non-constexpr

ldalessandro at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Nov 1 17:31:01 GMT 2020


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

--- Comment #1 from Luke Dalessandro <ldalessandro at gmail dot com> ---
(In reply to Luke Dalessandro from comment #0)
> GCC currently rejects the following code snippet, where it infers the
> constexpr definition of V as non-constexpr. 

The definition of `v`, not the type `V`. I apologize.


More information about the Gcc-bugs mailing list