newshound2 at digitalmars.com
Wed Nov 25 10:42:02 UTC 2020
On 11/23/2020 3:17 AM, IGotD- wrote:
> In the presentation you basically did a copy of the single ownership in Rust. In
> the function we assign nameLookup and idLookup with a borrowed pointer but not
> as owners. This currently compiles
It shouldn't as nameLookup and idLoopup are globals. Looks like you found a bug!
> but your presentation I get the impression
> that you are going to put D under full single ownership lockdown.
Sorry if I gave that impression. It will only be so at your discretion with
where you place @live.
More information about the Digitalmars-d