Search

March 27, 2016
General »
...ret = returnsBigStructToo();
	ret.data[0] = 42;
	return ret;
}


BigStruct returnsBigStructToo()
{
	import std.range;
	BigStruct ret...
March 26, 2016
Issues »
...ReturnType!T inner(ParameterTypeTuple!T values) {
            auto ret = _returns[0];
            import std.conv: to;
            assert...
March 25, 2016
Issues »
...inner(ParameterTypeTuple!T values) {
            auto ret = _returns[0];
            return ret;
        }
        func = &inner;
        _scope = MockScope!(T...
March 25, 2016
Genel »
...case 'y':
               ret ~= to!string(date.year);
               break;

           default:
               ret ~= ch;
       }
       i++;
   }

   return ret;
}
unittest...
March 10, 2016
General »
...Vector2!T ret;
        mixin("ret.x = this.x"~op~"rhs.x;");
        mixin("ret.y = this...
March 06, 2016
Learn »
...block with "naked" and adding an explicit "ret" at the end. Naked asm means that...
February 24, 2016
Issues »
...import std.range;
  ushort a=10;
  ushort b=20;
  auto ret=iota(a, b, 10);
}
----

--
February 15, 2016
General »
...float value)
{
    asm
    {
        naked;
        cvtss2si EAX, XMM0;
        ret;
    }
}

we could get ceil/trunc/round/floor...
January 30, 2016
Issues »
...24
        xor     eax, eax                                ; 0084 _ 31. C0
        ret                                             ; 0086 _ C3
__Dmain ENDP
-----

Now the lines...
January 30, 2016
Issues »
...2C
        xor     eax, eax                                ; 00B5 _ 31. C0
        ret                                             ; 00B7 _ C3
__Dmain ENDP
-----

Looks like these...
52 53 54 55 56 57 58 59 60 61 62 63
Next ›   Last »