Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
pptr
· 1y ago · 0 comments
If you declare using an invalidated iterator as UB, the compiler can optimize as if the container was effectively immutable during the loop.
Comments
No comments yet.
Better HN