3 ms·
> (std::vector also uses memcpy inside). I don't think I am communicating myself clearly, so I'll just bow out about this issue, until I have an example ready.
by steveklabnik 11y ago
> (std::vector also uses memcpy inside).
I don't think I am communicating myself clearly, so I'll just bow out about this issue, until I have an example ready. I should write one anyway, I just don't have it at the moment.
> I'm probably biased but I don't see
this "accidental" misuse happening
> often
While that may be true, as the article points out, all it takes is for someone, anywhere, to slip up once, and then you possibly have a serious security violation. Having the compiler double-check your work is nice.