[Bug libstdc++/60883] New: std::ostringstream::str(const std::string&) works strangely
michal at mistrnet dot cz
gcc-bugzilla@gcc.gnu.org
Fri Apr 18 08:46:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60883
Bug ID: 60883
Summary: std::ostringstream::str(const std::string&) works
strangely
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: michal at mistrnet dot cz
Created attachment 32630
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32630&action=edit
Demonstrate ostringstream::str(const string&) side effect
ostringstream::str(const string&) sets successfully content but next call of
operator<< ignores this content.
More information about the Gcc-bugs
mailing list