GC for noobs

Namespace rswhite4 at googlemail.com
Thu Feb 27 06:14:41 PST 2014


On Thursday, 27 February 2014 at 14:12:58 UTC, Dicebot wrote:
> On Thursday, 27 February 2014 at 13:44:11 UTC, Namespace wrote:
>> On Thursday, 27 February 2014 at 13:31:45 UTC, Dicebot wrote:
>>> On Thursday, 27 February 2014 at 13:18:51 UTC, Remo wrote:
>>>> Then the question is why not use structs all the time?
>>>
>>> Key class feature is run-time polymorphism (via 
>>> interfaces/inheritance). I tend to use structs for everything 
>>> else in my personal code.
>>
>> Maybe we really should implement ARC classes... :)
>
> I don't see how it is relevant. I would not have used ARC 
> classes either.

Why not? Overhead? No RAII support?


More information about the Digitalmars-d-learn mailing list