digitalmars.D.bugs - [Issue 5820] New: Documentation states string literals can implicitly convert to char*
- d-bugmail puremagic.com (23/23) Apr 08 2011 http://d.puremagic.com/issues/show_bug.cgi?id=5820
- d-bugmail puremagic.com (10/10) Jan 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5820
- d-bugmail puremagic.com (10/10) Jan 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=5820
http://d.puremagic.com/issues/show_bug.cgi?id=5820 Summary: Documentation states string literals can implicitly convert to char* Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: trivial Priority: P2 Component: websites AssignedTo: nobody puremagic.com ReportedBy: simen.endsjo pandavre.com --- Comment #0 from simendsjo <simen.endsjo pandavre.com> 2011-04-08 10:30:54 PDT --- http://digitalmars.com/d/2.0/arrays.html says (...), and a string literal can be implicitly cast to a char* char* a = "a"; // cannot implicitly convert expression "a" of type string to char* char* b = cast(char*)"a"; // ok const(char)* c = "a"; // ok -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 08 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5820 --- Comment #1 from github-bugzilla puremagic.com 2012-01-20 20:41:14 PST --- Commit pushed to https://github.com/D-Programming-Language/d-programming-language.org https://github.com/D-Programming-Language/d-programming-language.org/commit/f7c94aa84c0e16a079f80861ad63b1dd8d63f9e4 fix Issue 5820 - Documentation states string literals can implicitly convert to char* -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5820 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 20 2012