This is the mail archive of the gcc-help@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]
Other format: [Raw text]

RE: Problem With templates


Thanks a lot ... it worked. I am just wondering how this works on other
compilers ... is it a issue with gcc or other compilers?

-----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;




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