DIP 45 - approval discussion

Jacob Carlborg doob at me.com
Wed Nov 13 00:51:20 PST 2013


On 2013-11-13 03:15, Andrei Alexandrescu wrote:

> Wait, doesn't Object.factory call the default constructor of the created
> object?

Yes, but you use ClassInfo.find and _d_newclass, which is exactly the 
same thing, except it won't call the constructor. Object.factory uses 
these functions internally.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list