mutable string
Adam D. Ruppe via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jul 10 12:44:01 PDT 2016
On Sunday, 10 July 2016 at 19:19:57 UTC, Adam Sansier wrote:
> Is it possible to turn temporary char/wchar buffer in to a
> string to be used by string functions rather than having to
> convert?
What string functions in particular? If they are written
correctly, it should just work.... mutable char[] can be passed
as a char* or const char* with the .ptr property.
> I could use C strcmp etc but then I might as well just write
> the code in C.
meh D rox over C even if you just use C functions
More information about the Digitalmars-d-learn
mailing list