Re:Manifesto: Adding memory ownership to Swift
by jsolson on Saturday February 18, 2017 @11:17AM
(#13675246)
This is fair, and what I've done so far in Swift (with a cute little extension on NSLocking no less :).
If you're going to add moveonly types with destructors, though, it seems strongly desirable to give them (or at least making available) lexical RAII semantics.
If you're going to add moveonly types with destructors, though, it seems strongly desirable to give them (or at least making available) lexical RAII semantics.