Martin,
Martin Kretzschmar wrote:
If I understand correctly, the current rtl::OUString has the interesting
feature of being reinterpretable as/binary-identical to an rtl_uString*
(the shared sequence on the heap) and vice versa. I have definitely seen
code that freely casts between the two.
Correct, the rtl::OUString is just a C++ wrapper around a rtl_uString
struct.
The "Shared-Heap-String-with-a-Buffer" sounds like a rtl::OUString
(C++)-only plan. Wouldn't that introduce problems with code doing such
casts?
Switch to the shared-heap-string-with-a-buffer would effect all binary
UNO based languages, currently C++. The semantics would be kept, meaning
that casts would still valid.
Regards,
Martin
Kay
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]