platform_system_core/libutils/binder
Ryan Prichard f01048743a Define String8 and String16 operator<=>
Previously, in C++20 mode, using <=> on String8 or String16 would
compare the pointer values from the implicit conversion operators
returning const char* and const char16_t*. Instead, compare the string
content. This is especially a problem with STL containers that prefer
<=> when it is available.

See https://godbolt.org/z/cc1hW17h3 for a demo of the problem.

Bug: 339775405
Test: treehugger
Change-Id: I5ee6af96dee0c9968a1bab1ad96729e45bb1ac50
2024-05-15 17:34:57 -07:00
..
include/utils Define String8 and String16 operator<=> 2024-05-15 17:34:57 -07:00
Android.bp Introduce libutils_binder_sdk 2023-12-07 14:04:16 -08:00
Errors.cpp
Errors_test.cpp
FuzzFormatTypes.h
RefBase.cpp Allow disabling callstack 2023-10-27 10:48:43 -07:00
RefBase_fuzz.cpp
RefBase_test.cpp RefBase: update sp and wp to allow constinit 2024-02-21 21:34:22 -08:00
SharedBuffer.cpp
SharedBuffer.h
SharedBuffer_test.cpp Remove obsolete __STDC_LIMIT_MACROS references. 2024-02-09 16:40:02 +00:00
String8.cpp Remove obsolete __STDC_LIMIT_MACROS references. 2024-02-09 16:40:02 +00:00
String8_fuzz.cpp
String8_test.cpp Define String8 and String16 operator<=> 2024-05-15 17:34:57 -07:00
String16.cpp
String16_fuzz.cpp
String16_test.cpp Define String8 and String16 operator<=> 2024-05-15 17:34:57 -07:00
StrongPointer.cpp
StrongPointer_test.cpp Add StrongPointer::release() 2023-11-20 11:55:02 -05:00
Unicode.cpp
Unicode_test.cpp
Vector_benchmark.cpp
Vector_fuzz.cpp
Vector_test.cpp Remove obsolete __STDC_LIMIT_MACROS references. 2024-02-09 16:40:02 +00:00
VectorImpl.cpp