This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51841] iterator weirdness. I couldn't tell you what's going on here
- From: "marcus-yass at ihug dot co.nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 13 Jan 2012 02:05:24 +0000
- Subject: [Bug c++/51841] iterator weirdness. I couldn't tell you what's going on here
- Auto-submitted: auto-generated
- References: <bug-51841-4@http.gcc.gnu.org/bugzilla/>
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.