Detecting at compile time if a string is zero terminated

Jesse Phillips jessekphillips+D at
Thu Jan 20 08:44:53 PST 2011

I would bet that you'd end up spending more time translating the string then copying it.

Didn't think to look at what type the function accepted. I figured that any such optimization would exist inside of toStringz if it was possible.

More information about the Digitalmars-d-learn mailing list