November 24, 2014 Learn » Re: Sum informations in file.... | |||
|---|---|---|---|
| |||
...range element by element, while `writeln(range)` outputs the whole range. the second code means... | |||
November 04, 2014 Learn » Re: manually call opUnary | |||
|---|---|---|---|
| |||
...opUnary(string op)() {
writeln(op);
}
}
void main() {
Foo foo = new Foo;
foo++;
foo.opUnary!"--";
}
Outputs:
++
-- | |||
November 01, 2014 General » std.concurrency.Generator yieldAll? | |||
|---|---|---|---|
| |||
...peek.nsecs;
writeln(n, " ", len, " ", t1, " ", t2);
}
}
-------------------
Outputs:
1 1 5517 43650
2 3 4539... | |||
November 01, 2014 Issues » [Issue 13669] New: [CTFE] Destructor call on static array variable is not yet supported in CTFE | |||
|---|---|---|---|
| |||
...true; } static assert(test()); Currently the case outputs weird CTFE error. test.d(12): Error... | |||
October 30, 2014 General » Re: tail const ? | |||
|---|---|---|---|
| |||
...outputs "const(float) *"
}
}
class B
{
float * a;
void foo() tailconst
{
writeln(typeof(this).stringof); //outputs... | |||
October 29, 2014 General » Re: std.experimental.logger formal review round 3 | |||
|---|---|---|---|
| |||
...organized into a coherent whole, and the outputs filtered/directed/controlled by the final end... | |||
October 28, 2014 General » Re: function pointer bug? | |||
|---|---|---|---|
| |||
...void function())TestClass.classinfo.vtbl[idx];
a(); // outputs 'test: 42'
}
}
you need to manually create... | |||
October 27, 2014 General » Re: toString refactor in druntime | |||
|---|---|---|---|
| |||
...and a variadic list of strings, and outputs those strings to the sink in order... | |||
October 26, 2014 Announce » Re: CUDA bindings | |||
|---|---|---|---|
| |||
...I suggest using string imports with PTX outputs or fatbin). This makes CUDA programming arguably... | |||
October 23, 2014 Learn » Constructor params with same name as members | |||
|---|---|---|---|
| |||
...P.y) ; } This outputs 0 0, whereas the equivalent C++ code outputs 1 2 correctly... | |||
Copyright © 1999-2021 by the D Language Foundation