[Issue 18790] can't put a const(char)[] into a char[]

2018-06-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 --- Comment #9 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/8769ea9e46154e1bbbd52ebca4ebf0a2ef20f8ef Fix issue 18790 - Add ability for char[] and wchar[] to

[Issue 18790] can't put a const(char)[] into a char[]

2018-06-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-22 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 --- Comment #8 from Steven Schveighoffer --- (In reply to Jonathan M Davis from comment #7) > And if > we can make the changes for output ranges without breaking any existing > code, then we definitely should. The only place

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 --- Comment #7 from Jonathan M Davis --- (In reply to hsteoh from comment #4) > Given that std.range.put goes out of its way to support putting single > elements, multiple elements, and in some cases even dchars into

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 --- Comment #6 from Steven Schveighoffer --- PR: https://github.com/dlang/phobos/pull/6471 --

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 --- Comment #5 from Steven Schveighoffer --- (In reply to Jonathan M Davis from comment #1) > Because char[] isn't an output range at all. isOutputRange!(char[], char) is > false. Something to consider: isOutputRange!(char[],

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 --- Comment #4 from hst...@quickfur.ath.cx --- Given that std.range.put goes out of its way to support putting single elements, multiple elements, and in some cases even dchars into strings, I'm shocked that putting dchar into char[] doesn't work.

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 --- Comment #3 from Steven Schveighoffer --- (In reply to Jonathan M Davis from comment #1) > (In reply to Steven Schveighoffer from comment #0) > > The most basic string output range is char[]. Why can't I put a string in > >

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 Nicholas Wilson changed: What|Removed |Added CC|

[Issue 18790] can't put a const(char)[] into a char[]

2018-04-21 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18790 Jonathan M Davis changed: What|Removed |Added CC|