This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Problem With templates
- From: "Dinabandhu Mitra" <dinabandhu at lifetreeindia dot com>
- To: "'Andrew Haley'" <aph at redhat dot com>
- Cc: 'Daniel Llorens del Río' <daniel dot llorens at bluewin dot ch>, <gcc-help at gcc dot gnu dot org>
- Date: Wed, 28 Mar 2007 20:02:59 +0530
- Subject: RE: Problem With templates
Ok ... Thx.
-----Original Message-----
From: Andrew Haley [mailto:aph@redhat.com]
Sent: Wednesday, March 28, 2007 6:00 PM
To: Dinabandhu Mitra
Cc: 'Daniel Llorens del Río'; gcc-help@gcc.gnu.org
Subject: RE: Problem With templates
Dinabandhu Mitra writes:
> Thanks a lot ... it worked. I am just wondering how this works on other
> compilers ... is it a issue with gcc or other compilers?
gcc has improved its standards compliance.
Andrew.
>
> -----Original Message-----
> From: Daniel Llorens del Río [mailto:daniel.llorens@bluewin.ch]
> Sent: Wednesday, March 28, 2007 4:52 PM
> To: Dinabandhu Mitra; gcc-help@gcc.gnu.org
> Subject: Re: Problem With templates
>
>
> On 28 Mar, 2007, at 13:02, Dinabandhu Mitra wrote:
>
> > std::list<B>::iterator c;
>
> try
>
> typename std::list<B>::iterator c;
>
>
>
--
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street,
Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David Owens
(Ireland)