Перенос страниц

This commit is contained in:
Alexander Zhirov 2023-03-05 15:30:34 +03:00
parent 4d57446057
commit 4c954c9186
129 changed files with 14 additions and 15 deletions

View file

@ -1,19 +0,0 @@
import std.stdio;
void main()
{
writeln(typeid(typeof("Hello, world!"))); // immutable(char)[]
immutable(char)[] str = "One";
str = "Two";
writeln(typeid(typeof(str))); // immutable(char)[]
immutable(char)[3] a = "Hi!";
immutable(char)[] b = a;
writeln(a.length, " ", b.length); // 3 3
wstring x = "Здрав­ст­вуй, ши­ро­кий мир!";
writeln(typeid(typeof(x))); // immutable(wchar)[]
dstring y = "Здрав­ст­вуй, еще бо­лее ши­ро­кий мир!";
writeln(typeid(typeof(y))); // immutable(dchar)[]
}