using memset withing a pure function
anonymous via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Aug 15 13:40:12 PDT 2015
On Saturday, 15 August 2015 at 19:50:56 UTC, Temtaime wrote:
> There's a problem with « dst[0 .. n] = val; ».
> It should be « dst[0 .. n][] = val; »
No, you don't need the `[]`.
More information about the Digitalmars-d-learn
mailing list