From: Warren Young Date: June 14 2005 6:31pm Subject: Re: Link errors with resetdb example program List-Archive: http://lists.mysql.com/plusplus/4531 Message-Id: <42AF226F.1090702@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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.