copying memory in phobos

Mike none at none.com
Tue Apr 8 03:13:08 PDT 2014


On Tuesday, 8 April 2014 at 10:04:01 UTC, bearophile wrote:
> 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

I understand that.  But why is dest[] = src[] not good enough for 
run-time?


More information about the Digitalmars-d-learn mailing list