[Issue 5980] Can't pass __traits value as const(char)*

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 11 12:33:17 PDT 2011


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


Andrei Alexandrescu <andrei at metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei at metalanguage.com


--- Comment #4 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-05-11 12:29:17 PDT ---
The conversion of a string literal to a immutable(char)* has been disallowed,
and for arguably good reasons. You may want to use a.ptr instead.

-- 
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