Skip to content

Commit 8f3e901

Browse files
author
vitamin
committed
add String alias
1 parent 296f0f6 commit 8f3e901

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/basic_string/package.d

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ if(T.length == 1){
2424

2525

2626

27+
/**
28+
Standard utf-8 string type (alias to `BasicString!char`).
29+
*/
30+
alias String = BasicString!char;
31+
32+
33+
2734
/**
2835
The `BasicString` is the generalization of struct string for character of type `char`, `wchar` or `dchar`.
2936

0 commit comments

Comments
 (0)