Alternative: ---- import std.stdio;
struct S {
uint longnamed;
alias longnamed this;
}
void main() {
S somestruct;
alias v = somestruct;
writeln(v);
v++;
writeln(v);
}
----
Alternative: ---- import std.stdio;
struct S {
uint longnamed;
alias longnamed this;
}
void main() {
S somestruct;
alias v = somestruct;
writeln(v);
v++;
writeln(v);
}
----