string types: const(char)[] and cstring
Myron Alexander
someone at somewhere.com
Fri May 25 22:26:06 PDT 2007
Howard Berkey wrote:
> Nice idea. I am only concerned that people will see "cstring" and think "null-terminated "C" string". Not that that should be a deciding factor by any means of course.
>
When I first read Walter's post, I also thought null-terminated strings.
I even had it as an alias for toString (converting C string to char[])
as a means to get around the name conflict with Object but I shortened
it to "str".
I cannot think of another name but "cstring" will cause confusion and
defeats the "obvious" rule.
More information about the Digitalmars-d-announce
mailing list