Can't assign string to char * like the docs say
Gide Nwawudu
gide at btinternet.com
Thu May 14 12:18:50 PDT 2009
On Wed, 13 May 2009 16:42:51 -0400, "Steven Schveighoffer"
<schveiguy at yahoo.com> wrote:
>it is a documentation bug, this behavior is not allowed. Please submit a
>bug to bugzilla: http://d.puremagic.com/issues/
>
>On the other hand, string *literals* are implicitly castable to char *:
>
>char *p = "abc";
>
>works.
>
>-Steve
It's a documentation bug, see.
http://d.puremagic.com/issues/show_bug.cgi?id=996
Gide
More information about the Digitalmars-d-learn
mailing list