1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 01:51:03 +09:00
ladybird/Libraries/LibUnicode
Jonne Ransijn d7596a0a61 AK: Don't implicitly convert Optional<T&> to Optional<T>
C++ will jovially select the implicit conversion operator, even if it's
complete bogus, such as for unknown-size types or non-destructible
types. Therefore, all such conversions (which incur a copy) must
(unfortunately) be explicit so that non-copyable types continue to work.

NOTE: We make an exception for trivially copyable types, since they
are, well, trivially copyable.

Co-authored-by: kleines Filmröllchen <filmroellchen@serenityos.org>
2024-12-04 01:58:22 +01:00
..
CharacterTypes.cpp
CharacterTypes.h
CMakeLists.txt
Collator.cpp
Collator.h
CurrencyCode.cpp AK: Don't implicitly convert Optional<T&> to Optional<T> 2024-12-04 01:58:22 +01:00
CurrencyCode.h AK: Don't implicitly convert Optional<T&> to Optional<T> 2024-12-04 01:58:22 +01:00
DateTimeFormat.cpp
DateTimeFormat.h
DisplayNames.cpp
DisplayNames.h
DurationFormat.cpp
DurationFormat.h
Forward.h
ICU.cpp
ICU.h
IDNA.cpp
IDNA.h
ListFormat.cpp
ListFormat.h
Locale.cpp
Locale.h
Normalize.cpp
Normalize.h
NumberFormat.cpp
NumberFormat.h
PartitionRange.h
PluralRules.cpp
PluralRules.h
RelativeTimeFormat.cpp
RelativeTimeFormat.h
Segmenter.cpp
Segmenter.h
String.cpp
TimeZone.cpp
TimeZone.h
UnicodeKeywords.cpp
UnicodeKeywords.h