And hereby the same but against the latest trunk.
2009/12/19 Steven Van Ingelgem <steven@stripped>
> That was quite easy ;).
> Basically what I did was removing the ostream, changing the stringbuf ->
> stringstream and adding an operator << template which just calls the
> stringbuf operator << ;-).
> Fixed & works nicely.
> Now also Query q( other_Query ) is doing a deep copy (so it truly makes a
> new copy of the same query). This is advantageous in my personal opinion in
> case you want to pass different parameters to each Query-instance.
> 2009/12/19 Warren Young <mysqlpp@stripped>
>> On Dec 19, 2009, at 3:27 AM, Steven Van Ingelgem wrote:
>> > The problem is that the ostream seems not to be overwritten... I think
>> > should do ostream::operator=(rhs); in the beginning of this function.
>> Yes, there has been some concern about how deep a copy the Query operator=
>> and copy ctor should do. If you want to make up a patch, I'll be happy to
>> consider it.
>> MySQL++ Mailing List
>> For list archives: http://lists.mysql.com/plusplus
>> To unsubscribe: