December 24, 2014 General » Re: Tuple opAssign type deduction | |||
|---|---|---|---|
| |||
...S a = "hello"; // (1) outputs "ctor!"
S b;
b = "hey!"; // (2) outputs "assign!"
}
see, (1... | |||
December 18, 2014 Issues » [Issue 6621] Superimposition amount for std.range.chunks | |||
|---|---|---|---|
| |||
...b}(1UL, c))
.reduce!max
.writeln;
}
That outputs the correct result:
235146240000
Where the file... | |||
December 09, 2014 Learn » Re: Can someone explain why this outputs garbage values? | |||
|---|---|---|---|
| |||
I got it to work with vsnprintf with the following code: ___________________________________________________ import core.vararg; import... | |||
December 09, 2014 Learn » Re: Can someone explain why this outputs garbage values? | |||
|---|---|---|---|
| |||
Also, the reason why the special function is needed is that the argptr is just... | |||
December 09, 2014 Learn » Re: Can someone explain why this outputs garbage values? | |||
|---|---|---|---|
| |||
To forward varargs in C, you need to use a different function: vsnprintf instead of... | |||
December 09, 2014 Learn » Can someone explain why this outputs garbage values? | |||
|---|---|---|---|
| |||
I'm trying to work with some c functions that make use of varargs and... | |||
December 08, 2014 Announce » Re: [OT?] C compiler written form scratch in D | |||
|---|---|---|---|
| |||
...LLVM back-end so if your compiler outputs the LLVM IR code then maybe you... | |||
December 07, 2014 Issues » [Issue 12971] Missing REX prefix for 8 bit register access | |||
|---|---|---|---|
| |||
...What |Removed |Added
----------------------------------------------------------------------------
Summary|DMD inline asm outputs |Missing REX prefix for 8
|wrong AND... | |||
December 05, 2014 Learn » Inheritance and in-contracts | |||
|---|---|---|---|
| |||
...b.foo(7);
b.foo(3);
}
/////////////////////////////////////////
This outputs,
n = 7
n = 3
In other words... | |||
December 01, 2014 Learn » Re: curl: catching exception on connect. | |||
|---|---|---|---|
| |||
...failed by catching an exception. It simply outputs a message about it. import std.stdio... | |||
Copyright © 1999-2021 by the D Language Foundation