diff options
Diffstat (limited to 'zen/zstring.h')
-rw-r--r-- | zen/zstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/zstring.h b/zen/zstring.h index d0a8eb4c..5bcc8b34 100644 --- a/zen/zstring.h +++ b/zen/zstring.h @@ -20,13 +20,13 @@ //a high-performance string for interfacing with native OS APIs in multithreaded contexts using Zstring = zen::Zbase<Zchar>; +using ZstringView = std::basic_string_view<Zchar>; + //for special UI-contexts: guaranteed exponential growth + ref-counting + COW + no SSO overhead using Zstringc = zen::Zbase<char>; //using Zstringw = zen::Zbase<wchar_t>; -//Windows, Linux: precomposed -//macOS: decomposed enum class UnicodeNormalForm { nfc, //precomposed |