Re:My favourite C++ footgun
by pizza234 on Tuesday June 22, 2021 @06:11PM
(#27597878)
Interestingly, AFAIK also Golang suffers from something similar: creating a slice from an array, then performing an operation on the array, that causes resizing - the slice will keep pointing to the old array data.
[ Parent
| on HN ]
There are no comments on this comment yet.