This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13088] templatizing outer class hides specialization of inner template class
- From: "cppljevans at cox-internet dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2003 15:10:14 -0000
- Subject: [Bug c++/13088] templatizing outer class hides specialization of inner template class
- References: <20031117182653.13088.cppljevans@cox-internet.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cppljevans at cox-internet dot com 2003-12-03 15:10 -------
(In reply to comment #6)
> Subject: Re: templatizing outer class hides specialization
> of inner template class
>
> On 11/17/2003 04:05 PM, falk at debian dot org wrote:
>
> >------- Additional Comments From falk at debian dot org 2003-11-17 22:05 -------
[snip]
> I think Compaq is right :( See
> http://www.comeaucomputing.com/iso/cwg_defects.html#44
>
Closer reading of the defect report changed my mind. In particular, the line:
Proposed resolution (04/01): In-class specializations of member templates are
not allowed.
Hence, Compaq must be wrong, unless there are different rules for partial
specializations. Will have to check on that.
Furthermore, the examples in paragraph 17 of 14.7.3 show examples
of out-of-class specializations.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13088