Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Tuesday 20 of March 2012, Caolán McNamara wrote:
On Tue, 2012-03-20 at 15:20 +0100, Lubos Lunak wrote:
 Before I start experimenting with more stuff in OUString that might look
a bit like operator+= , what exactly is so irritating about operator= or
operator+= in OUString and why?

It's just that if OUString was supposed to be immutable,

 That is the theory, but what does it matter in practice? The only result of 
this that I can see is that it leads to cumbersome 
string->stringbuffer->string back and forths, so I wonder what the actual 
benefit of it is supposed to be? The way I see it it would be much better to 
just go with the string class and improve it as necessary, the buffer should 
be either deprecated or left for cases where the modifications are extensive.

-- 
 Lubos Lunak
 l.lunak@suse.cz

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.