Is there any convenient CopyMemory function in Phobos?

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Jun 14 11:41:19 PDT 2011


On 6/14/11, Johannes Pfau <spam at example.com> wrote:
> The druntime C bindings follow the names of the C
> header files. memcpy is in 'string.h' in C --> 'core.stdc.string' in D.

I assume the reason for this was because C requires strcpy and memcpy
all the time when copying strings?


More information about the Digitalmars-d-learn mailing list