Smart pointers instead of GC?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Feb 1 21:41:32 PST 2014


On 2/1/14, 9:34 PM, Frank Bauer wrote:
> On Sunday, 2 February 2014 at 05:30:02 UTC, Andrei Alexandrescu wrote:
>> On 2/1/14, 8:18 PM, Frank Bauer wrote:
>>> On Sunday, 2 February 2014 at 03:38:03 UTC, Andrei Alexandrescu wrote:
>>>> Whoa, this won't work without an explosion in language complexity.
>>>>
>>>> Andrei
>>>
>>> Only daydreaming ...
>>
>> No, it's a nightmare.
>>
>> Andrei
>
> ^^ Lets do it while we're young ...

Sure. While you're young typecheck this:

class A {
    auto stuff() { ...; return this; }
}


Andrei


More information about the Digitalmars-d mailing list