(D1 Phobos)
I use the struct below like: Struct[][char[]] _struct;
Is there a better way to support arrays of any type?
Currently all the code working with these Structs are templated with loads
of static ifs in them.
Also, is it possible to add a .deepdup property to all arrays?
One last quest
> (D1 Phobos)
> I use the struct below like: Struct[][char[]] _struct;
>
> Is there a better way to support arrays of any type?
> Currently all the code working with these Structs are templated with loads
> of static ifs in them.
>
> Also, is it possible to add a .deepdup property to all arrays?
Saaa:
> Is there a better way to support arrays of any type?
> Currently all the code working with these Structs are templated with loads
> of static ifs in them.
You have to ask a more precise question if you want an answer.
> Also, is it possible to add a .deepdup property to all arrays?
D
bearophile Wrote:
> Saaa:
>
> > Is there a better way to support arrays of any type?
> > Currently all the code working with these Structs are templated with loads
> > of static ifs in them.
>
> You have to ask a more precise question if you want an answer.
Maybe a more general one :)
I use a t
bearophile wrote:
Saaa:
Is there a better way to support arrays of any type?
Currently all the code working with these Structs are templated with loads
of static ifs in them.
You have to ask a more precise question if you want an answer.
Also, is it possible to add a .deepdup property to
Don wrote:
> You always seem to be so negative! In one recent DMD release, half the
> changes were bugfixes requested by you...
>
> If everyone involved in compiler development spent 100% of their time on
> bearophile requests, you still might not get everything you want .
> Actually you have at