Is string.ptr a part of the language?

KennyTM~ kennytm at gmail.com
Wed Mar 31 22:53:21 PDT 2010


On Apr 1, 10 13:20, Ali Çehreli wrote:
> I've seen people access string.ptr in code examples. Does that member
> exist and publicly accessible? How about the internals of slices,
> associative arrays, and others?
>
> I am not planning or need to use them. I am just trying to determine how
> much of the internals are a part of the D language.
>
> Thank you,
> Ali

string is just an alias of invariant(char)[], and dynamic arrays do have 
the .ptr property (http://www.digitalmars.com/d/2.0/arrays.html).



More information about the Digitalmars-d mailing list