toStringz for UTF-16

Jacob Carlborg doob at me.com
Sun Oct 14 03:30:48 PDT 2012


On 2012-10-13 15:45, Andrej Mitrovic wrote:

> This was already proposed before, but it would break too much code.
> Anyway there's nothing wrong in having an alias that makes typing
> simpler, e.g. toUTF16z vs toUTF!(const(wchar)*).
>
> Phobos has many helper auto functions which make instantiating
> templates simpler, toUTF16z has that same kind of role.

Fair enough.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list