Перенос страниц
This commit is contained in:
parent
4d57446057
commit
4c954c9186
129 changed files with 14 additions and 15 deletions
|
@ -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)[]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue