This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/pt.c mixing-up inner/outer template args
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: c++/pt.c mixing-up inner/outer template args
- From: Larry Evans <jcampbell3 at prodigy dot net>
- Date: Wed, 03 Jan 2001 14:05:57 -0600
- References: <3A3FD60F.EDC3B2BD@prodigy.net>
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