Our Sister

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Fri May 27 14:25:50 PDT 2016


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


More information about the Digitalmars-d mailing list