Can D do some sort of automatic template to "dynamic template" wrapping

bitwise via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 19 12:23:41 PDT 2015


On Saturday, 19 September 2015 at 17:46:27 UTC, Adam wrote:

> Does any of that make sense? ;)

No.

Where exactly do these magical dynamic objects come from?

How exactly do you expect user input to generate an object which 
would require an implementation that was not foreseeable at 
compile time?

This sound like an extreme complication for a problem which is 
trivial to solve using conventional means, like polymorphism, or 
a struct with an enum in it. How exactly do you plan to improve 
on these two approaches?

     Bit



More information about the Digitalmars-d mailing list