I stuck a little check throughout query.cpp and query.h whenever you
write to Query using the << operator that compares tellp( ) against str(
).size( ) and ran my app for a few minutes and every instance came up good.
Warren Young wrote:
> Just to clarify, this is wrong. I was thinking we changed from
> stringstream as a parent class to no parent at all, and that it just
> implemented the ostream interface instead of deriving from it.
> Then again, if tellp() doesn't work, one could argue that Query is
> indeed not-an ostream.