This is the mail archive of the
mailing list for the GCC project.
RE: problem with a structure nested within a template
- From: "Young, Michael" <Michael dot Young at paetec dot com>
- To: "Paul Ianna" <paulianna2002 at gmail dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Tue, 21 Nov 2006 13:27:53 -0500
- Subject: RE: problem with a structure nested within a template
> 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;