Is it time for D 3.0?
Kaitlyn Emmons
katemmons0 at gmail.com
Mon Apr 13 07:47:56 UTC 2020
On Monday, 13 April 2020 at 07:43:10 UTC, Kaitlyn Emmons wrote:
> Also in D3 can we make all type voldemort types except for
> fundamental types like int/void ect..
>
> Just embrace the inference.. it the direction D wants to go
> anyways
By that i mean, define types as the return from a function.. and
scrap constructors all together ..
alias SomeStruct = (int x, int y){
r = struct {
X = x;
Y = y;
}
return r;
}
More information about the Digitalmars-d
mailing list