Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pmul
· 7y ago · 0 comments
The first example won't compile in c++ (can't get a ptr to a non const from a const without something naughty like a const_cast) - that's not undefined behaviour is it?
Comments
[–]
lochsh
7y ago
you're right, I messed up here. I'm working on some updates to the blog post based on feedback.