[Issue 6632] toUTFz sometimes does not work with const parameters
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 9 09:59:02 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6632
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-11-09 09:58:23 PST ---
import std.utf;
const wchar[] foo = "foo";
void main()
{
auto wptr = toUTFz!(const(wchar)*)(foo); // NG
}
It would be great if toUTFz worked in *all* cases.
--
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