[dmd-beta] std.format scheduled changes

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Aug 1 15:35:22 PDT 2012


On 8/2/12, David Nadlinger <code at klickverbot.at> wrote:
> For example, I'd expect (without actually having tested it)
> that %s for xformat will »pretty-print« enum members instead of just
> printing the raw integer values, because the type information is now
> available as a template parameter.

Oh that's pretty cool. This also means CTFE will work for format
(since it currently doesn't with the variadic version).

I would have used xformat all along but I didn't realize it exists. :)


More information about the dmd-beta mailing list