|
From: matheus r. <mfr...@gm...> - 2007-07-29 16:07:40
|
Hi, templates can create a great mess sometimes. Try the following: @line 133: typename std::vector<ArvoreB>::iterator it_filho; This helps the compiler understand that iterator is a type. 2007/7/29, Kristian Magnani <kri...@ya...>: > > Hi, all! > > I'm developing a B-Tree class as a template, but I got an error I can't > solve. The compiler complains that I should put a ';'before the "it_filho" > identifier in the line 133 of the attached file, but I really don't know why > I can not declare such an iterator. > > Does anyone know what I'm doing wrong? > > Thanks a lot, > > Kristian > > > > ________________________________ > Pinpoint customers who are looking for what you sell. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: > http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > > |