This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix friend class name lookup part 2/n (PR14513, 15410)
Nathan Sidwell wrote:
whilst using current_decl_namespace seems plausable, why don't we push to
the namespace of N::C when processing its definition? Am I just
confused?
I think there's a lot of places where current_namespace is presumed to be
the namespace of whatever function or class is being defined.
This makes sense. I'll revise the patch.
--Kriang