On 10/13/12, Jacob Carlborg <d...@me.com> wrote: > On 2012-10-13 02:04, Jonathan M Davis wrote: > Shouldn't we deprecate "toUTF16z" if "toUTFz" can handle all cases that > "toUTF16z" does?
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.