c++/pt.c mixing-up inner/outer template args

Larry Evans jcampbell3@prodigy.net
Wed Jan 3 11:55:00 GMT 2001


Larry Evans wrote:

> -------------------
> cat main.cpp

...skipping

>
>         typedef
>       SubjProxVecType::ContElem<SUBJ_TOP, GCSP_OFFROOT>
>     SubjStateType
>       ;

The work-around it to replace  SubjProxVecType::ContElem with
      typename SubjProxVecType::template ContElem




More information about the Gcc-bugs mailing list