Our Sister
tsbockman via Digitalmars-d
digitalmars-d at puremagic.com
Fri May 27 15:09:48 PDT 2016
On Friday, 27 May 2016 at 21:25:50 UTC, Andrei Alexandrescu wrote:
> On 05/27/2016 05:02 PM, Era Scarecrow wrote:
>> With the current state of things, I'll just take your word
>> on it.
>
> Reasoning is simple - yes we could safely convert to
> const(char)[] but that means effectively all refcounting is
> lost for that string. So we can convert but in an explicit
> manner, e.g. str.toGCThisWillCompletelySuckMan. -- Andrei
But conversions to scope const(char)[] could be made safe, right?
(If scope were ever fully implemented, that is.)
More information about the Digitalmars-d
mailing list