Call some cleanup
function every time some value gets out of scope
#47
Labels
enhancement
New feature or request
cleanup
function every time some value gets out of scope
#47
To implement "smart pointers", we need some callback which is called when a variable leaves scope, like for example a
func cleanup(x: T)
.For this to work we need to add move semantics, with some "move" operator.
The text was updated successfully, but these errors were encountered: