[Issue 6878] Mutable result for toStringz()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 1 18:31:19 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6878


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jmdavisProg at gmx.com
         Resolution|                            |WONTFIX


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-11-01 18:30:50 PDT ---
Use std.utf.toUTFz. It allows you to get a pointer to whatever zero-terminate
string type you want (both in terms of character type and constness). toStringz
is simplified function for the common use case. We're not going to complicate
it further. toUTFz gives you the functionality that you're looking for.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list