[Issue 6032] wstring literals cannot be implicitly converted to const(wchar)*
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed May 18 21:12:02 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6032
kennytm at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kennytm at gmail.com
--- Comment #1 from kennytm at gmail.com 2011-05-18 21:07:53 PDT ---
You could use the postfix-less version. A string literal is convertible to
immutable(<any>char)[] and immutable(<any>char)*. (That should apply to "..."w
though).
const(wchar)* wcptr = "foo";
--
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