[Bug libstdc++/81857] istreambuf_iterator not work as input iterator

rs2740 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 23 08:20:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81857

TC <rs2740 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rs2740 at gmail dot com

--- Comment #1 from TC <rs2740 at gmail dot com> ---
istreambuf_iterator is specified to call sbumpc() only on increment, not upon
construction; the implementation is as specified.

The copy_n aspect is https://cplusplus.github.io/LWG/issue2471.


More information about the Gcc-bugs mailing list