Array of structs construction

bearophile bearophileHUGS at lycos.com
Sun Oct 21 05:11:30 PDT 2012


H. S. Teoh:

> It works for any kind of struct with ctors. Should be trivially
> extendible to array of class objects. Some improvement in usage 
> syntax is probably possible, too, but I'll leave it up to the
> CTFE experts here to figure that out. ;-)

I have 2D array literals. Thank you for your work. It shows how 
far you go with library code.

Bye,
bearophile


More information about the Digitalmars-d mailing list