This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Friend class and DR 180


On Tue, 26 Nov 2002 17:57:38 +0700, Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> wrote:

> The following patch fixes a friend class issue relating to DR 180.
> We currently accept the code
> 	friend typename A::B;
> but according to DR 180, the correct syntax should be
> 	friend class A::B;

Does the compiler accept the correct syntax?

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]