On 2012-04-18 12:37, Michal Minich wrote:
On Wednesday, 18 April 2012 at 10:07:59 UTC, Robert Clipsham wrote:
// a.d
class Base { /* whatever magic to get derived classes */ }
// b.d
import a;
class Derived : Base {}
void main() {}
to find derived classes at runtime:
http://forum.dlang.org/thread/mailman.1052.1292505452.21107.digitalmars-d-le...@puremagic.com#post-op.vns7nfjpvxi10f:40biotronic-pc.lan
But you can't get the fields of an object at runtime. Again, hence the
need for proper runtime reflection.
--
/Jacob Carlborg