Newbie initial comments on D language - scope

Walter Bright newshound1 at digitalmars.com
Wed Jan 30 14:37:08 PST 2008


Craig Black wrote:
>> I'm working on adding destructors to structs, which I'm thinking should 
>> completely supplant scoped classes. RAII is a much more natural fit with 
>> structs than it ever will be for classes.
> 
> Very good Walter!!  What about copy semantics for structs?

You cannot do destructors for value objects without copy constructors 
and assignment overloads.



More information about the Digitalmars-d mailing list