Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
simfoo
· 6y ago · 0 comments
I would actually consider this a bug of the std library implementation. Would love to see a comparison between different implementations (libc++, libstdc++, MSVC)
Comments
[–]
simfoo
OP
6y ago
In fact all three major compilers manage to use memset in all cases, see here:
https://godbolt.org/z/hVJfPE