Comment

Comment by fluoridation

Huh? What do you mean? The point of std::weak_ptr is that it's non-owning, so it has no effect on the lifetime of the pointed object.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton