Comment

Comment by contravariant

Yeah I learned that the hard way when I found out that std::vector apparently feels free to move your objects around in memory for you, no matter if you point to them from somewhere else.

I mean in hindsight it's obvious, but still not exactly what I wanted to happen.

For reference, what I did does actually work, temporarily.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton