About Strings

Caolán McNamara caolanm at redhat.com
Tue Mar 20 07:16:02 PDT 2012


On Mon, 2012-03-19 at 13:39 +0100, Stephan Bergmann wrote:
> (And even if immutable classes are 
> generally also a good idea in C++, esp. in combination with 
> multi-threading, the mutable rtl::OUString::operator= spoils this, anyway.)

And the += operator irritates me.

Either way though, its a nonsense to have 4 (well three now, ByteString
is gone) string classes. And given that the rtl::O[U]String classes are
the ones that are available for external api users its only fair that we
use *that* one and not run back to the "classic" non-exported UniString
when rtl::OUString is too hard to use for something

C.



More information about the LibreOffice mailing list