std.jgrandson

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 6 04:36:48 PDT 2014


"Jacob Carlborg"  wrote in message news:lrsrek$19mf$1 at digitalmars.com...

> > Chances are tying it to a future
> > generic serialization library is going to make it take longer.
>
> Yeah, that's the problem. But where do you draw the line. Should arrays of 
> structs be supported?

Yes.  Allow T, where T is any of

int, float, long, etc
bool
struct { T... }
T[string]
T[]

Sure, you _can_ make a struct containing an array that contains itself, but 
you probably won't. 



More information about the Digitalmars-d mailing list