[wwwdocs PATCH] Document friend changes in gcc-4.0/changes.html

Kriang Lerdsuwanakij lerdsuwa@users.sourceforge.net
Thu Dec 2 06:14:00 GMT 2004


Mark Mitchell wrote:

>
> Yes, except that I would word:
>
> !     <li>Friend classes that are not qualified with their scope are no
> !     longer looked up outside the innermost non-class scope as given
> !     in the standard:
>
> slightly differently.  In particular, I would say "Undeclared friend 
> classes given by an unqualified name are no longer injected into the 
> containing namespace."
>
This part is still not in GCC yet.  The work so far makes friend class 
lookup in the right scope.  Undeclared friend classes are still visible,
and hence the text I chose in changes.html.

The patch to correct this is still not ready yet (latest version
can be found in the attachment).  The patch unifies hidden friend name
and built-in functions.  It needs some more time to think about its effect 
to hidden built-in.

--Kriang


-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff-friend-lookup-6
Type: application/x-java-vm
Size: 26131 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041202/397a005b/attachment.bin>


More information about the Gcc-patches mailing list