Dynamic creation of instannce

maa at lagraine.com maa at lagraine.com
Mon Apr 24 07:44:53 PDT 2006


hello

I kust we,nt thru a lot of D documentation
D solve apparently to me a lot of what I hate In C.
But I still have a big question
can you in D write

new toto;

were toto is not a class name but a variable holding a class name
or do I have to go thru factories as usual
(except that it would be more simplle in D)

Thanks
Maa





More information about the Digitalmars-d-learn mailing list