Skip to content

Commit

Permalink
add String alias
Browse files Browse the repository at this point in the history
  • Loading branch information
vitamin committed Dec 30, 2021
1 parent 296f0f6 commit 8f3e901
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/basic_string/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 8f3e901

Please sign in to comment.