Y
Hacker News
new
|
ask
|
show
|
jobs
by
dthul
965 days ago
Defining "normal" code as "not having UB" is quite disingenuous though, isn't it? Iterating over a vector while adding elements for example looks normal, but isn't generally safe, unless you know to pre-allocate enough memory.