http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50336
Bug #: 50336 Summary: LWG issue 445 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: marc.gli...@normalesup.org C++11 standard: template<class charT, class traits = char_traits<charT> > class istreambuf_iterator : public iterator<input_iterator_tag, charT, typename traits::off_type, unspecified , charT> C++98 and libstdc++: template<typename _CharT, typename _Traits> class istreambuf_iterator : public iterator<input_iterator_tag, _CharT, typename _Traits::off_type, _CharT*, _CharT&> The final '&' should be dropped in C++11 mode. It was noticed by a boost user trying to use zip_iterator.