http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51881
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51881
--- Comment #2 from Jonathan Wakely 2012-01-17
13:10:15 UTC ---
Or for a better example, this is basically what your program tries to do:
foo f;
f.v = std::vector(3);
while (ss >> f)
std::cout << f << '\n';
That shows the sa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51881
--- Comment #1 from Jonathan Wakely 2012-01-17
13:07:04 UTC ---
(In reply to comment #0)
> Since stream_iterator.h _M_read() works on this copy (_M_value) the second
> application of operator >> () simply append 4 5 6 to the values already
> pres