dmd 1.070 and 2.055 release

dsimcha dsimcha at yahoo.com
Thu Sep 8 09:48:49 PDT 2011


== Quote from Andrej Mitrovic (andrej.mitrovich at gmail.com)'s article
> Ok now I definitely need a dfix program. The problem is toUTFz can't
> be used in UFCS like toUTF16z could, so now I have to replace all
> expression.toUTF16z code to toUTFz!(const(wchar)*)(expression).
> Personally I find this thing to be ugly enough to warrant a good alias
> anyway.
> Anyone clever enough to do this via sed?

Uh...what's wrong with this at the top of every file:

alias toUTFz!(const(wchar)*) toUTF16z;


More information about the Digitalmars-d-announce mailing list