Prototype of Ownership/Borrowing System for D
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Wed Nov 27 11:17:12 UTC 2019
On Wednesday, 27 November 2019 at 11:12:55 UTC, Ola Fosheim
Grøstad wrote:
> To get to something useful the common assumption should be that
> you need lifetime-names/variables under the hood. No point in
> wasting time thinking otherwise... unless someone has written a
> paper on it.
That said, lifetime-names works ok with GC. The lifetime of GC
objects lasts until the end of the program, so you can just mark
it as "*" or "forever"...
More information about the Digitalmars-d
mailing list