This is the mail archive of the gcc-bugs@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]

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


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



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