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


[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #2 from [email protected] 2013-07-28 03:42:51 PDT ---
Implicit conversions introduce a bit of dangers in a language. They should be
minimized.

Instead of this:
const(char)* s = "abc"[0..$-1];

What about this?
const(char)* s = "abc"[0..$-1].ptr;

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

Reply via email to