To prepare for an upcoming Utf16String, this migrates Utf16View to store
its data as a char16_t. Most function definitions are moved inline and
made constexpr.
This also adds a UDL to construct a Utf16View from a string literal:
auto string = u"hello"sv;
This let's us remove the NTTP Utf16View constructor, as we have found
that such constructors bloat binary size quite a bit.
|
||
|---|---|---|
| .. | ||
| CharacterTypes.cpp | ||
| CharacterTypes.h | ||
| CMakeLists.txt | ||
| Collator.cpp | ||
| Collator.h | ||
| CurrencyCode.cpp | ||
| CurrencyCode.h | ||
| 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 | ||