Property discussion wrap-up

Zach the Mystic reachBUTMINUSTHISzach at gOOGLYmail.com
Thu Jan 31 05:58:43 PST 2013


On Thursday, 31 January 2013 at 12:44:18 UTC, TommiT wrote:
> On Thursday, 31 January 2013 at 03:35:32 UTC, Zach the Mystic 
> wrote:
>> Now classes are a different kettle of fish.
>
> Sorry for not being more explicit. Bjarne Stroustrup is the 
> creator of C++, so the Q&A I posted refers to C++, not D. But, 
> long story short, all of the Q&A is applicaple to D, as long as 
> you read every instance of the word 'class' as 'struct'.
>
> Empty structs taking memory is just a fundamental language 
> design thing, it's not something we can discuss, 
> agree/disagree, or change.

I hope this isn't the final word on the topic.


More information about the Digitalmars-d mailing list