Le 30/10/2011 22:46, Jonathan M Davis a écrit :
On Sunday, October 30, 2011 17:29:36 bearophile wrote:
Arrays in D implicitly convert to their ptr property, so they essentially
_are_ pointers in that sense. Now, personally, I think that it would be a good
idea for them _not_ to implicitly convert, forcing you to explicitly use the
ptr property, since you really shouldn't be treating arrays as pointers in D
code. It's primarily when interacting with C code that you need to do that
sort of thing, and the ptr property deals with it just fine.

That cannot be more true.

Reply via email to