Idea #1 on integrating RC with GC
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Wed Feb 5 10:52:51 PST 2014
On Wednesday, 5 February 2014 at 18:51:05 UTC, Namespace wrote:
> On Wednesday, 5 February 2014 at 18:45:28 UTC, Ola Fosheim
> Grøstad wrote:
>>
>> If so then maybe it would be nice, but with a different name.
>
> shared_ptr? ;) Welcome to C++.
Yes! :-)
Even better: Let the length be 0 for weak pointers after the
resource is released. Not so bad, actually.
More information about the Digitalmars-d
mailing list