Andrei Alexandrescu wrote: > On 6/18/11 4:59 AM, Jonathan M Davis wrote: >> I'll look at renaming toUTF16z to toWStringz to match toStringz (as was >> suggested by a couple of people in this thread) > > That should be a template toUTFz that takes either char*, wchar*, or dchar*. > > Andrei
Would you suggest to keep an alias toUTFZ!(char*) toStringz; for backwards compatibility with basically all code that has to interface with C, or to drop toStringz completely? Timon
