From 8f3e9019c0fc4c607a1024581701f048e8908ca5 Mon Sep 17 00:00:00 2001 From: vitamin Date: Thu, 30 Dec 2021 16:35:25 +0100 Subject: [PATCH] add String alias --- src/basic_string/package.d | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/basic_string/package.d b/src/basic_string/package.d index 8c0cc4e..e184592 100644 --- a/src/basic_string/package.d +++ b/src/basic_string/package.d @@ -24,6 +24,13 @@ if(T.length == 1){ +/** + Standard utf-8 string type (alias to `BasicString!char`). +*/ +alias String = BasicString!char; + + + /** The `BasicString` is the generalization of struct string for character of type `char`, `wchar` or `dchar`.