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

maxim.yegorushkin at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jul 12 14:37:00 GMT 2012


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.



More information about the Gcc-bugs mailing list