[Issue 13568] Support compile-time format strings in std.format

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 20 19:39:56 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13568

--- Comment #1 from hsteoh at quickfur.ath.cx ---
Another major advantage of compile-time format strings is that we can avoid
format() pulling in half of Phobos on the off-chance that some obscure runtime
format string might actually need that code to format something. By analysing
the format string at compile-time, we can make it so that only the necessary
bits of code are imported, thus greatly clearing up the big hairball that is
Phobos module interdependencies currently.

--


More information about the Digitalmars-d-bugs mailing list