Array/list of objects of different type but with same interface

bearophile bearophileHUGS at lycos.com
Wed Jun 20 15:00:11 PDT 2012


Joseph Rushton Wakeling:

> Is there any way to do this with structs instead of classes?  I 
> ask because in my experience the difference in performance is 
> dramatic.

std.variant.Algebraic?

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list