On Monday, 15 September 2014 at 14:44:53 UTC, Andrei Alexandrescu wrote:
On 9/15/14, 2:50 AM, monarch_dodra wrote:

- No way to "GC-dup" the RCString. giving "dup"/"idup" members on RCstring, for when you really just need to revert to pure un-collected GC.

Nice. But then I'm thinking, wouldn't people think .dup produces another RCString?

I certainly would. If I wanted a GC string from an RCString, I'd probably reach for std.conv for clarity's sake. e.g.

RCString foo = "banana!";
string bar = to!string(foo);

-Wyatt

Reply via email to