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
