This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Error with stl
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Michael Tomuschat <michael dot tomuschat at planet-interkom dot de>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Mar 2006 10:32:39 -0500
- Subject: Re: Error with stl
- References: <200603171633.08134.michael.tomuschat@planet-interkom.de>
On Mar 17, 2006, at 10:33 AM, Michael Tomuschat wrote:
vector<class aCls< T> >::iterator aIter; // ???? tut nicht ????
You forgot the typename keyword.
It should be:
typename vector<class aCls< T> >::iterator aIter;
-- Pinski