ad1557f5d7
...compared to a full-blown O[U]String, for temporary objects holding an O[U]StringConcat result that can then be used as a std::[u16]string_view. It's instructive to see how some invocations of operator ==, operator !=, and O[U]StringBuffer::insert with an O[U]StringConcat argument required implicit materialization of an O[U]String temporary, and how that expensive operation has now been made explicit with the explicit O[U]StringConcatenation ctor. (The additional operator == and operator != overloads are necessary because the overloads taking two std::[u16]string_view parameters wouldn't even be found here with ADL. And the OUString-related ones would cause ambiguities in at least sal/qa/rtl/strings/test_oustring_stringliterals.cxx built with RTL_STRING_UNITTEST, so have simply been disabled for that special test-code case.) Change-Id: Id29799fa8da21a09ff9794cbc7cc9b366e6803b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122890 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> |
||
---|---|---|
.. | ||
qa | ||
source | ||
util | ||
CppunitTest_cppu_any-external.mk | ||
CppunitTest_cppu_qa_any.mk | ||
CppunitTest_cppu_qa_recursion.mk | ||
CppunitTest_cppu_qa_reference.mk | ||
CppunitTest_cppu_qa_unotype.mk | ||
CppunitTest_cppu_test_cppumaker.mk | ||
CppunitTest_cppu_typelib.mk | ||
InternalUnoApi_cppu_qa_cppumaker_types.mk | ||
InternalUnoApi_cppu_qa_types.mk | ||
IwyuFilter_cppu.yaml | ||
Library_affine_uno_uno.mk | ||
Library_cppu.mk | ||
Library_log_uno_uno.mk | ||
Library_purpenvhelper.mk | ||
Library_unsafe_uno_uno.mk | ||
Makefile | ||
Module_cppu.mk | ||
README.md |
Binary UNO Runtime
CPPU stands for C++ UNO and it contains type definitions / implementations for the core of UNO. The exported API is in C, and there exists some C++ wrappers.