[Bug c++/13088] templatizing outer class hides specialization of inner template class

cppljevans at cox-internet dot com gcc-bugzilla@gcc.gnu.org
Tue Nov 18 00:28:00 GMT 2003


------- Additional Comments From cppljevans at cox-internet dot com  2003-11-18 00:28 -------
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 -------
>Just as a random factoid, the Compaq compiler thinks:
>
>cxx: Error: test.cc, line 20: a partial specialization of a member class
>          template must be declared in the class of which it is a member
>struct X<U>::Local<typename S<U>::template Type<T> > {
>-------------^
>cxx: Info: 1 error detected in the compilation of "test.cc".
>
>I don't have enough C++-fu to know whether it is right
>  
>
I think Compaq is right :(  See 
http://www.comeaucomputing.com/iso/cwg_defects.html#44




-- 


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



More information about the Gcc-bugs mailing list