This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53941] "Range-based for" feature is not implemented for std::pair<>.
- From: "maxim.yegorushkin at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jul 2012 14:36:52 +0000
- Subject: [Bug libstdc++/53941] "Range-based for" feature is not implemented for std::pair<>.
- Auto-submitted: auto-generated
- References: <bug-53941-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53941
--- Comment #2 from Maxim Yegorushkin <maxim.yegorushkin at gmail dot com> 2012-07-12 14:36:52 UTC ---
Fair enough.
I wasn't sure whether std::pair<> should work as a range, so I went to
http://gcc.gnu.org/gcc-4.7/cxx0x_status.html which refers to
http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html, which says
that std::pair<> is a range.