[Bug libstdc++/71431] ifstream::rdbuf directory

dimaqq at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 6 11:35:00 GMT 2016


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

--- Comment #7 from Dima Tisnek <dimaqq at gmail dot com> ---
Ugh, it never occurred to me to check error on target of buffer copy.

`buf.rdstate()` does report an error for me.

A bit unexpected and seems like black magic, but the error is there :)


More information about the Gcc-bugs mailing list