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

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Jun 21 02:32:42 PDT 2012


On 20/06/12 23:00, bearophile wrote:
> std.variant.Algebraic?

Interesting thought.  I fear it's a no-go as you'd have to specify up-front all 
the possible agent choices, but I'll have a play ...

Thanks very much! :-)


More information about the Digitalmars-d-learn mailing list