On 2012-05-07 09:28, Mehrdad wrote:

Is this something that actually modifies the 'new' operator, or is it
just a separate factory function that my code would need to switch to
using?

This does not modify the new-operator. "_d_newclass" is actually the runtime function that is called by the compiler when it sees "new" in the code.

It would be a separate factory function. As far as I know it's not possible to _not_ call the constructor when using new.

--
/Jacob Carlborg

Reply via email to