office-gobmx/sal
Stephan Bergmann bd94e9dfd0 Add back the opportunity to leave O[U]StringLiteral's buffer uninitialized
...once we have a C++20 baseline, which would render uses of the consteval
O[U]StringLiteral ctors ill-formed if we accidentally failed to write to all of
buffer's elements.  This had been broken (and the TODO comments had become
misleading) with 21584b304b "make
OUString(OUStringLiteral) constructor constexpr" and
bca539e889 "make OString(OStringLiteral)
constructor constexpr".

Also add corresponding test code.

Change-Id: I2bc680282c717d403a681ff4b9396580c8382de1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132275
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-03-29 21:15:13 +02:00
..
android
cppunittester try to improve stack dumping on windows 2022-03-23 13:18:48 +01:00
inc
osl -Werror,-Wunused-function 2022-03-24 10:43:31 +01:00
qa Add back the opportunity to leave O[U]StringLiteral's buffer uninitialized 2022-03-29 21:15:13 +02:00
rtl tdf#145614 Convert #define to enum or constexpr 2022-03-22 08:37:17 +01:00
test
textenc
util
CompilerTest_sal_rtl_oustring.mk
CppunitTest_Module_DLL.mk
CppunitTest_sal_comtools.mk
CppunitTest_sal_osl.mk
CppunitTest_sal_osl_security.mk
CppunitTest_sal_retry_if_failed.mk
CppunitTest_sal_rtl.mk
CppunitTest_sal_types.mk
Executable_cppunittester.mk
Executable_osl_process_child.mk
Library_lo-bootstrap.mk
Library_sal.mk
Library_sal_textenc.mk
Makefile
Module_sal.mk
README.md

System Abstraction Layer (SAL)

System abstraction layer; rtl, osl and sal

rtl: Platform independent strings

osl: platform specific stuff, threads, dynamic loading, process, ipc, etc

Exports only C API and some inline-methods (only C++ API).