http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31247
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-28 09:57:01 UTC --- (In reply to comment #10) > An iterator is either a pointer or a class with the > typedefs. Or a type for which iterator_traits has been specialized? I'm not really interested in the patch, I did it as a proof of concept and reverted it in my tree a long time ago