[Bug c++/11030] Cannot befriend a template specialization

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Mon Jun 23 07:42:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11030



------- Additional Comments From gdr at integrable-solutions dot net  2003-06-23 06:57 -------
Subject: Re:  Cannot befriend a template specialization

"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:

| §14.5.3/1: "A friend of a class or class template can be [...] a specialization 
| of a function template or class template, [...]". 

I know.


I concentrated on the reduced testcase and thought it was refering to 
a friend declaration *template* as I said in my previous message.
Sorry for the confusion.

Thanks,

-- Gaby



More information about the Gcc-bugs mailing list