[Issue 8384] std.conv.to should allow conversion between any pair of string/wstring/dstring/char*/wchar*/dchar*

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Apr 14 14:41:58 PDT 2016


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

Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras at gmail.com

--- Comment #24 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
https://github.com/D-Programming-Language/phobos/pull/4199

PR covers conversion from {X}char* to {Y}char[], but not the other way around.
no such conversions are currently supported at all, so took the liberty of not
implementing that without a bit more discussion.

Are there convincing reasons to support any of those conversions at all?

--


More information about the Digitalmars-d-bugs mailing list