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

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Mon Nov 17 22:05:00 GMT 2003


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


-- 


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



More information about the Gcc-bugs mailing list