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?


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. Any way to change that order?



Tomek


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 match the current dmd code and fold
the various minor fixes listed in the bug report into it, would you be willing
to incorporate the changes?  I haven't seen a single person, other than you,
question the value of template failure 'stack' traces.

- Brad