[Bug c++/17410] Specialization of nested template rejected because of unrelated declaration

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 5 16:08:00 GMT 2009



------- Comment #8 from jason at gcc dot gnu dot org  2009-03-05 16:08 -------
The bug is in lookup_template_class's search for a matching partial
instantiation; it finds Outer<void>::Inner<T*> and assumes it's
Outer<void>::Inner<T> without checking the innermost template args.


-- 


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



More information about the Gcc-bugs mailing list