[Bug libstdc++/57515] implement begin() and end() for fixed size arrays

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 3 16:16:00 GMT 2013


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 :-)



More information about the Gcc-bugs mailing list