This is the mail archive of the gcc-bugs@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: Error with stl



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



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