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.