Rename std.string.toStringz?

Kagamin spam at here.lot
Thu Jun 16 11:30:27 PDT 2011


Daniel Gibson Wrote:

> >> So c_long converts a long to a c-long?
> >> (Is this a D function/type? I couldn't find it on the homepage)
> > 
> > It's not a conversion function, but an alias. It's declared, along with
> > c_ulong, in core.stdc.config.
> 
> So it has nothing to do with toStringz and similar names would be confusing.

May be

struct c_str{}
to!c_str();


More information about the Digitalmars-d mailing list