Comment

Comment by pptr

If you declare using an invalidated iterator as UB, the compiler can optimize as if the container was effectively immutable during the loop.
parent pptr 1 year ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton