This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]