Get class size of object

Jacob Carlborg doob at me.com
Mon Aug 12 12:44:55 PDT 2013


On 2013-08-12 17:49, JS wrote:

> Sorry but this doesn't work. b is a B, not an A.
>
> try
>
> I a = new A;
> I b = new B;

Right, forgot about the interface.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list