[Bug c++/57433] Local classes have an associated namespace

richard-gccbugzilla at metafoo dot co.uk gcc-bugzilla@gcc.gnu.org
Tue Jun 7 21:55:00 GMT 2016


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

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

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

--- Comment #3 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> ---
(In reply to i.hamsa from comment #2)
> This is an expected behaviour in C++14 due to
> http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1690. Still a
> problem in C++11.

That issue is in DR status, so it seems appropriate for the resolution to apply
to C++11 (and C++98) as well.


More information about the Gcc-bugs mailing list