memcpy() comparison: C, Rust, and D
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Wed Feb 1 13:34:29 PST 2017
On 2/1/2017 9:22 AM, Tobias Müller wrote:
> You wouldn't use memcpy but just assign the slices.
I clearly made a mistake in this example. I wanted to show how a compiler learns
things from the declaration by using a very familiar declaration. But it keeps
getting diverted into what people (and some compilers) "know" about memcpy that
is not in the declaration.
More information about the Digitalmars-d
mailing list