Class references, or using ClassInfo to instantiate classes?
Vladimir Panteleev
thecybershadow at gmail.com
Thu Feb 1 17:57:48 PST 2007
On Thu, 01 Feb 2007 17:21:14 +0200, Jarrett Billingsley <kb3ctd2 at yahoo.com> wrote:
> This is possible with reflection. Check out FlectioneD; it has (at least a
> limited form) of instantiating classes by a string name. In fact, classes
> are represented by (gasp) the Class type.
From what I understood, FlectioneD isn't really portable, and thus doesn't really compare to a language feature. Also, it requires debug symbols to be compiled in the executable, while this can be implemented as a fairly simple language construct...
--
Best regards,
Vladimir mailto:thecybershadow at gmail.com
More information about the Digitalmars-d
mailing list