Feedback Wanted on Homegrown @nogc WriteLn Alternative

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri Sep 26 21:31:14 PDT 2014


On 9/26/14, 8:58 PM, Andrej Mitrovic via Digitalmars-d wrote:
> On 9/27/14, H. S. Teoh via Digitalmars-d <digitalmars-d at puremagic.com> wrote:
>> Anyway, what I have in mind is more to take the current Phobos
>> std.format (of which writeln is just a thin wrapper), stick @nogc on it,
>> and hack it until it either compiles with @nogc, or isolate the GC parts
>
> I don't see how, unless you provide an overload taking a buffer.

RCString. -- Andrei



More information about the Digitalmars-d mailing list