Re: Traced static assert ?

2009-12-04 Thread Brad Roberts
Don wrote: > Jacob Carlborg wrote: >> Is it possible to somehow trace a static assert, just like a backtrace >> for exceptions ? > > http://d.puremagic.com/issues/show_bug.cgi?id=2816 > > Unfortunately Walter rejected it, but gave no clue as to why. Walter, if Don was to update the patch to matc

Explicit ordering with std.format

2009-12-04 Thread Tomek SowiƄski
An extract from java.util.Formatter docs: // Explicit argument indices may be used to re-order output. formatter.format("%4$2s %3$2s %2$2s %1$2s", "a", "b", "c", "d") // -> " d c b a" How do I achieve this with std.format? The ddocs only say that "variadic arguments are consumed in order".

Re: Solution to print Chinese font in console under D2

2009-12-04 Thread Kagamin
Sam Hu Wrote: > I asked this question a couple of month ago but it is pending,is there any > solution now? > > Thanks. As you know from previous discussions, there're various solutions, which of them do you want?