[Bug c++/86049] Array bindings are not const when initializer is

richard-gccbugzilla at metafoo dot co.uk gcc-bugzilla@gcc.gnu.org
Tue Jun 5 18:13:00 GMT 2018


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

Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richard-gccbugzilla@metafoo
                   |                            |.co.uk

--- Comment #2 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
I think this is a bug in the standard. The cv-qualifiers of the array type
should be discarded, as they would be for any normal auto deduction.


More information about the Gcc-bugs mailing list