[Bug libstdc++/53941] "Range-based for" feature is not implemented for std::pair<>.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 12 14:28:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53941

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-12 14:28:32 UTC ---
The standard doesn't require them. N3126 removed those functions, as pairs do
not make good ranges:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2995.pdf



More information about the Gcc-bugs mailing list