This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: typedef vs. typename confusion
- To: frichard at bbn dot com
- Subject: Re: typedef vs. typename confusion
- From: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Date: Tue, 4 Aug 1998 08:38:31 +0200
- CC: egcs at cygnus dot com
- References: <199808031605.MAA26876@bbn.com>
> I've been trying to come up with a small example, but I haven't been
> able to. I have a pretty complicated template class hierarchy that
> triggers this problem. I'll keep chiseling away at it, but I was
> wondering if anyone else has seen this problem.
If you think you've found a bug, it is not really necessary to post a
small example: If you can, just post the code that gives you the
error.
Please note that ISO C++ requires the use of typename at certain
places. egcs has an extension to insert typename implicitely in places
where it previously was not needed. Not being a template expert, I
can't guess whether the extension will be fixed or completely dropped
in the medium term.
Regards,
Martin