Why can't function expecting immutable arg take mutable input?
Meta via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Oct 16 05:51:18 PDT 2015
On Friday, 16 October 2015 at 12:48:42 UTC, Meta wrote:
> This doesn't work for char because it has indirections (a
> pointer to its data).
Whoops, should be char[], not char.
More information about the Digitalmars-d-learn
mailing list