[Issue 10724] Allow slice of string literal to convert to const(char)*
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 29 08:40:55 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10724
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #5 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-07-29 08:40:53 PDT ---
Just to clarify:
const(char)* a = "abc";
const(char)* b = "abc"[0..$-1];
Do a and b end up pointing to different memory addresses?
--
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