This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/5023] Error declaring constructor of template class specialization as friend
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Apr 2009 16:53:54 -0000
- Subject: [Bug c++/5023] Error declaring constructor of template class specialization as friend
- References: <bug-5023-2596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2009-04-16 16:53 -------
(In reply to comment #4)
> But this is valid and is rejected by gcc but accpected by ICC:
This is now accepted on the trunk.
friend S<int>::S<int>(); is still rejected but I don't know if that is valid
or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5023