On Saturday, 29 July 2017 at 22:15:41 UTC, Moritz Maxeiner wrote:
Since in your example the (stack) variable `foo` is still referring to the (heap) memory location of the destroyed object
Ah yes of course, thanks! - Johan
On Saturday, 29 July 2017 at 22:15:41 UTC, Moritz Maxeiner wrote:
Since in your example the (stack) variable `foo` is still referring to the (heap) memory location of the destroyed object
Ah yes of course, thanks! - Johan