This is the mail archive of the gcc-bugs@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]

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


------- 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


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