copying memory in phobos

bearophile bearophileHUGS at lycos.com
Tue Apr 8 03:04:00 PDT 2014


Mike:

> Why two different implementations for copying memory (i.e. 
> memcpy vs. dest[] = src[])? Why not use dest[] = src[] 
> exclusively.

Because currently you can't use memcpy at compile-time.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list