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.