On Wednesday, 9 November 2016 at 15:44:59 UTC, Is it possible to store different generic types? wrote:

Foo[] foos; // Where Foo of course should allow any generic version of Foo


You can use an array of std.variant
  • I... Is it possible to store different generic types? via Digitalmars-d-learn
    • ... Is it possible to store different generic types? via Digitalmars-d-learn
    • ... Ali Çehreli via Digitalmars-d-learn
    • ... Erik van Velzen via Digitalmars-d-learn

Reply via email to