C
Christopher Benson-Manica
Is there anything that one can do to a std:stringstream that would
make its destructor explode? I'm basically doing
{
std:stringstream ss, msg;
// do BUNCHES of stuff with ss and msg
// use ss.str() and msg.str(), apparently successfully
printf( "Done\n" );
}
printf( "Out of scope\n" );
Before the program gets to the second printf, it completely dies. I
really don't want to use C-style character arrays to sub for a
stringstream, but if I can't make this work... Any help would be most
appreciated.
make its destructor explode? I'm basically doing
{
std:stringstream ss, msg;
// do BUNCHES of stuff with ss and msg
// use ss.str() and msg.str(), apparently successfully
printf( "Done\n" );
}
printf( "Out of scope\n" );
Before the program gets to the second printf, it completely dies. I
really don't want to use C-style character arrays to sub for a
stringstream, but if I can't make this work... Any help would be most
appreciated.