Comment

Comment by grandempire

I see. I am noticing the main difference is that forward_list manages the lifetime and allocation of nodes and that having a pointer to an object is equivalent to a pointer to the node (could be implemented as a helper).

The layouts look the same?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton