http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57515
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- The code doesn't compile because it isn't valid, you need to use std::begin and std::end, and please don't file bug reports that contain only a snippet of code without includes etc. the bug reporting guidelines clearly say we do not want: * A source file that #includes header files that are left out of the bug report (see above) * A code snippet that won't cause the compiler to produce the exact output mentioned in the bug report (e.g., a snippet with just a few lines around the one that apparently triggers the bug, with some pieces replaced with ellipses or comments for extra obfuscation :-)