Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
eridius
· 9y ago · 0 comments
No it won't. It's using pointers, not array indices. The compiler has no possible way of knowing that `pe` is the one-past-the-end address.
Comments
[–]
arestor
9y ago
It's still UB. The array could potentially be at the end of the address space...
[–]
eridius
OP
9y ago
Well yes, it could, but that's not really an argument for saying that Ragel using == is just as good as using >=.