Search

December 24, 2014
General »
...S a = "hello"; // (1) outputs "ctor!"
    S b;
    b = "hey!"; // (2) outputs "assign!"
  }

see, (1...
December 18, 2014
Issues »
...b}(1UL, c))
    .reduce!max
    .writeln;
}



That outputs the correct result:

235146240000



Where the file...
December 09, 2014
Learn »
I got it to work with vsnprintf with the following code:
___________________________________________________
import core.vararg;
import...
December 09, 2014
Learn »
Also, the reason why the special function is needed is that the argptr is just...
December 09, 2014
Learn »
To forward varargs in C, you need to use a different function: vsnprintf instead of...
December 09, 2014
Learn »
I'm trying to work with some c functions that make use of varargs and...
December 08, 2014
Announce »
...LLVM back-end so if your compiler outputs the LLVM IR code then maybe you...
December 07, 2014
Issues »
...What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|DMD inline asm outputs      |Missing REX prefix for 8
                   |wrong AND...
December 05, 2014
Learn »
...b.foo(7);
    b.foo(3);
}
/////////////////////////////////////////

This outputs,

n = 7
n = 3

In other words...
December 01, 2014
Learn »
...failed by catching an exception. It simply outputs a message about it.

import std.stdio...
64 65 66 67 68 69 70 71 72 73 74 75
Next ›   Last »