March 27, 2016 General » Re: debugger blues | |||
|---|---|---|---|
| |||
...ret = returnsBigStructToo();
ret.data[0] = 42;
return ret;
}
BigStruct returnsBigStructToo()
{
import std.range;
BigStruct ret... | |||
March 26, 2016 Issues » [Issue 15832] Crashing program when a helper template function is used to create a template struct | |||
|---|---|---|---|
| |||
...ReturnType!T inner(ParameterTypeTuple!T values) {
auto ret = _returns[0];
import std.conv: to;
assert... | |||
March 25, 2016 Issues » [Issue 15832] New: Crashing program when a helper template function is used to create a template struct | |||
|---|---|---|---|
| |||
...inner(ParameterTypeTuple!T values) {
auto ret = _returns[0];
return ret;
}
func = &inner;
_scope = MockScope!(T... | |||
March 25, 2016 Genel » Tarih biçimi düzenleme | |||
|---|---|---|---|
| |||
...case 'y':
ret ~= to!string(date.year);
break;
default:
ret ~= ch;
}
i++;
}
return ret;
}
unittest... | |||
March 10, 2016 General » Suggested Change to Contract Syntax | |||
|---|---|---|---|
| |||
...Vector2!T ret;
mixin("ret.x = this.x"~op~"rhs.x;");
mixin("ret.y = this... | |||
March 06, 2016 Learn » Re: Inline assembly and Profiling | |||
|---|---|---|---|
| |||
...block with "naked" and adding an explicit "ret" at the end. Naked asm means that... | |||
February 24, 2016 Issues » [Issue 15717] New: iota: "Error: cannot implicitly convert expression (cast(int)pastLast - 1) of type int to ushort" | |||
|---|---|---|---|
| |||
...import std.range; ushort a=10; ushort b=20; auto ret=iota(a, b, 10); } ---- -- | |||
February 15, 2016 General » Re: Speed kills | |||
|---|---|---|---|
| |||
...float value)
{
asm
{
naked;
cvtss2si EAX, XMM0;
ret;
}
}
we could get ceil/trunc/round/floor... | |||
January 30, 2016 Issues » [Issue 15629] [REG] wrong code with "-O -inline" but correct with "-O" | |||
|---|---|---|---|
| |||
...24
xor eax, eax ; 0084 _ 31. C0
ret ; 0086 _ C3
__Dmain ENDP
-----
Now the lines... | |||
January 30, 2016 Issues » [Issue 15629] [REG] wrong code with "-O -inline" but correct with "-O" | |||
|---|---|---|---|
| |||
...2C
xor eax, eax ; 00B5 _ 31. C0
ret ; 00B7 _ C3
__Dmain ENDP
-----
Looks like these... | |||
Copyright © 1999-2021 by the D Language Foundation