This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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;

HTH,
  Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]