Proposed improvements to the separate compilation model

eles eles at eles.com
Tue Mar 5 04:48:16 PST 2013


On Tuesday, 5 March 2013 at 12:19:17 UTC, Jacob Carlborg wrote:
> On 2013-03-05 13:01, eles wrote:
> The compiler will need to know the size of the class, for that 
> it needs to know the instance variables.

Maybe, but private variables should have nothing to do w.r.t. the 
behaviour of the class, including its behaviour w.r.t. the 
sizeof() operator and so on.

What compiler does know and what the user care about are 
different things.


More information about the Digitalmars-d mailing list