dmd 1.070 and 2.055 release
Jonathan M Davis
jmdavisProg at gmx.com
Thu Sep 8 12:49:15 PDT 2011
On Thursday, September 08, 2011 21:40:30 Andrej Mitrovic wrote:
> On 9/8/11, Timon Gehr <timon.gehr at gmx.ch> wrote:
> > For now, this will do:
> >
> > auto toUTF16z(S)(S str){return toUTFz!(const(wchar)*)(str);}
>
> That'll do. Works with UFCS so it's perfect. It could have even stayed
> in std.utf like this and just forward to toUTFz internally without
> having to be deprecated.
It was discussed. Andrei was in favor of just getting rid of toUTF16z (he
pretty much wants to get rid of all functions that have the type in their name
like that). So, we ended up scheduling toUTF16z for deprecation rather than
adjusting it like that.
- Jonathan M Davis
More information about the Digitalmars-d-announce
mailing list