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

--- Comment #5 from TC <rs2740 at gmail dot com> ---
(In reply to Jakub Jelinek from comment #4)
> Apparently what changed in C++11 is that it allows static
> data members in unions and those clearly can have reference type, so that is
> the reason why the restriction has been removed and nothing added the
> restriction that non-static data members still may not have reference type.

...I quoted the part of the standard that says this is ill-formed in comment
#3?

Reply via email to