[Dlang-internal] DIP1000 discussion and testing
Walter Bright via Dlang-internal
dlang-internal at puremagic.com
Sun Oct 23 00:36:39 PDT 2016
On 10/22/2016 4:22 PM, Dicebot wrote:
> Walter, would you mind showing reference counted example that actually
> works under your implementation?
I can't, because I'm waiting for Andrei to make available what he considers a
correct ref counted design.
But you are correct in that the 'return' rules can be used to transfer the
lifetime from an argument to the return value, even if the return value is not
derived from the argument.
More information about the Dlang-internal
mailing list