Failed to instanciate template referencing type within other template

Henner Zeller zeller@stud.fh-heilbronn.de
Mon Jul 3 12:34:00 GMT 2000


Hi,
The attached program fails to compile with a 2.95.3 as well as the most
recent CVS version. This used to work with older egcs version IIRC.

The problem is, that gcc fails to see the template instantiation
opportunity in this case, maybe because the 'inner'-type the second
template refers to couldn't be resolved at template parse time.

Or is this not correct C++ ?  I should get myself the standards ..

ciao,
 -hen


More information about the Gcc-bugs mailing list