public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/50336] New: LWG issue 445
@ 2011-09-08 16:58 marc.glisse at normalesup dot org
  2011-09-08 17:10 ` [Bug libstdc++/50336] " paolo.carlini at oracle dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: marc.glisse at normalesup dot org @ 2011-09-08 16:58 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-08 22:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 16:58 [Bug libstdc++/50336] New: LWG issue 445 marc.glisse at normalesup dot org
2011-09-08 17:10 ` [Bug libstdc++/50336] " paolo.carlini at oracle dot com
2011-09-08 22:45 ` paolo at gcc dot gnu.org
2011-09-09  1:10 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).