Comment on Passing nothing is surprisingly difficultparentComments−anonymoushn2yThis is a bad idea if your memcpy starts by adding len to src or dst, since nullptr + 0 is nasal demons in C.
Comments
This is a bad idea if your memcpy starts by adding len to src or dst, since nullptr + 0 is nasal demons in C.