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]

[Bug c++/51841] iterator weirdness. I couldn't tell you what's going on here


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51841

--- Comment #5 from mako <marcus-yass at ihug dot co.nz> 2012-01-13 02:05:24 UTC ---
(In reply to comment #4)
> void actv(vector<T>::iterator in){
> 
> You are missing the typename keyword.

Thanks a bunch, Andrew. I didn't know about this. The internet hasn't served as
a very good teacher for me.


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