`ostringstream' undeclared (first use this function)

Joe Buck jbuck@racerx.synopsys.com
Mon Apr 2 11:52:00 GMT 2001


> I have using namespace std;
> But I still receive `ostringstream' undeclared (first use this function)

Sorry, there is no implementation of ostringstream or istringstream in
gcc 2.95.x.  It will be supported in 3.0.

You may be able to work around this lack by using ostrstream instead,
though it is not as nice a class.



More information about the Gcc mailing list