Ownership and Borrowing in D

Olivier FAURE couteaubleu at gmail.com
Tue Jul 23 22:07:47 UTC 2019


On Tuesday, 23 July 2019 at 22:01:56 UTC, Sebastiaan Koppe wrote:
> So in a nutshell, a variable with the unique qualifier ensures 
> that there are no other references to that data during the 
> lifetime of said variable? In other words, you can only take 1 
> addressOf/ref at a time?
>
> Does it prevent more that just use-after-free?

Can you ask again on the Github thread?

I don't want to hijack this thread for 12 pages.

(also, can you expand your question? I don't get what you're 
asking)


More information about the Digitalmars-d-announce mailing list