Re:Memcpy vs. memmove
by TazeTSchnitzel on Tuesday December 02, 2014 @01:19AM
(#8685970)
Perhaps in debug builds, memcpy could wrap memmove but assert() that the regions are non-overlapping? Would avoid code unintentionally relying on memcpy supporting overlap.
[ Parent
| on HN ]
There are no comments on this comment yet.