http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51841
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|delusional compile errors |iterator weirdness. I |sequent to using template |couldn't tell you what's |dependent |going on here |vector<T>::iterators | Severity|major |normal --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-13 01:08:00 UTC --- Are you using auto; if not try using auto instead of naming the full type? If you don't want to do that then do you have the typename keyword in front of std::vector<T>::iterator ; if not then that is your bug.