[Issue 14998] Cannot put a char into a char[]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 17 16:33:26 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=14998

--- Comment #9 from Jack Stouffer <jack at jackstouffer.com> ---
(In reply to Jack Stouffer from comment #8)
> (In reply to Steven Schveighoffer from comment #3)
> > import std.utf;
> > auto r = c.byCodeUnit;
> > r.put('c');
> 
> This actually doesn't work. Making separate issue for it.

Wait, my mistake, the underlying data needs to be char[] not string.

--


More information about the Digitalmars-d-bugs mailing list