Object.factory() and exe file size bloat

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 21 06:17:20 PDT 2015


On 2015-08-21 10:52, Benjamin Thaut wrote:

> Yes, the usual problem was that it only works with default constructors.
> Also it doesn't work with nested classes e.g.
>
> class Outer
> {
>    class Inner
>    {
>    }
> }
>
> I don't know if that is fixed now.

It sounds like both of these could be fixed. BTW, in my serialization 
library I don't even call the constructor so I don't have that problem.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list