Pointer to string allows assigning int[]?

Andrej Mitrovic andrej.mitrovich at gmail.com
Mon Nov 12 13:14:28 PST 2012


On 11/12/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
> Yes this is a bug, especially since the string is typed as
> immutable(char)[].
>

My bad, the string contents aren't being modified. Not a bug.


More information about the Digitalmars-d-learn mailing list