problem with a structure nested within a template

Young, Michael
Tue Nov 21 18:28:00 GMT 2006

> The problem line is:  C1<U>::Node*    pNode;

I *think* this is a "type-dependent id expression" (in std lingo), because "U" is a template parameter type.
You should be able to write the following and get rid of this problem...

typename C1<U>::Node*  pNode;


More information about the Gcc-help mailing list