Try using the -dip25 switch to dmd, it does one more step in D
toward making a borrow thingy. Nowhere near the level Rust does
it, but combined with other library things like destructors,
prohibiting copying, etc., it can kinda make a owned thing with
borrowed bits.
- Rust style memory management Freddy via Digitalmars-d
- Re: Rust style memory management Adam D. Ruppe via Digitalmars-d
- Re: Rust style memory management deadalnix via Digitalmars-d
- Re: Rust style memory management Enamex via Digitalmars-d
- Re: Rust style memory management welkam via Digitalmars-d
- Re: Rust style memory management deadalnix via Digitalmars-d