[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:43:29 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10724
--- Comment #6 from yebblies <yebblies at gmail.com> 2013-07-30 01:43:28 EST ---
(In reply to comment #5)
> Just to clarify:
>
> const(char)* a = "abc";
> const(char)* b = "abc"[0..$-1];
>
> Do a and b end up pointing to different memory addresses?
Yes.
--
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