4 ms·
> ...You can remove the first k elements of a view with data += k. How would you safely free(data) afterwards? You'd need to keep an alloc'ed pointer somehow.
by zoomablemind 7y ago
> ...You can remove the first k elements of a view with data += k.
How would you safely free(data) afterwards? You'd need to keep an alloc'ed pointer somehow.