This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: C++ PATCH: PR 13140
>
> | This patch tightens up error checking in G++. In particular, we now
> | catch cases where a member is defined in a namespace that does not
> | enclose the class in whch it was declared, or cases where a template
> | is explicitly instantiated in a namespace that does not enclose the
> | namespace where it was declared, and we catch an explicit
> | specialization case that we didn't catch before.
> The libstdc++ change is OK.
Agreed. I also agree that the standard requires the present behavior.
However, when we were presenting in Kona about namespace association,
nobody (Gaby, Bjarne, Daveed) could remember why this particular
behavior is required in the first place.
Any thoughts?
Just curious.
-benjamin