RFC: moving forward with @nogc Phobos

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 30 08:33:02 PDT 2014


On 9/30/14, 7:13 AM, "Marc Schütz" <schuetzm at gmx.net>" wrote:
> On Tuesday, 30 September 2014 at 14:05:43 UTC, Foo wrote:
>> On Tuesday, 30 September 2014 at 13:59:23 UTC, Andrei
>> Alexandrescu wrote:
>>> On 9/30/14, 6:38 AM, Foo wrote:
>>> This won't work because the type of "string" is different for RC vs.
>>> GC. -- Andrei
>>
>> But it would work for phobos functions without template bloat.
>
> Only for internal allocations. If the functions want to return
> something, the type must known.

Ah, now I understand the point. Thanks. -- Andrei


More information about the Digitalmars-d mailing list