Chris Frey wrote:
> On Mon, Jun 13, 2005 at 01:45:28PM -0600, Warren Young wrote:
> Maintaining our own set of overloaded operator<< and >> seems like a lot
> of work.
I agree, it's not practical to remove Query from the IOStreams class
hierarchy entirely. That's why, in another post, I suggested inheriting
instead from basic_ostream or something farther up the hierarchy, which
is designed to be inherited from. This would put Query completely in
charge of managing its own internal buffer, which would remove any
worries of some Standard C++ library doing odd things under the covers.
We should not depend on unspecified behavior.