Search

July 04, 2015
Learn »
...N]);

         static __gentypes() {
            string ret;
            foreach (I, TYPE; typeof(Struct.tupleof))
               ret ~= "align(16) typeof...
June 22, 2015
General »
...results.oneValue!string;
			ret = val.to!T;
		}
		catch { ret = default_value; }
		return ret;
	}

	private void...
June 08, 2015
Learn »
...basically what a slice is internally.

    auto ret = calloc(count, T.sizeof)[0..(count*T...
June 07, 2015
Learn »
...arr; }
    auto ret = Wrap( Impl( count, calloc( count, T.sizeof ) ) ).arr;
    enforce( ret.ptr !is...
June 05, 2015
Learn »
...dword ptr [rsi + 8], 2
	pop	rax
	ret
.LBB0_4:
	mov	edi, 55
	mov	esi...
May 31, 2015
General »
...stringof, n));
                        }
                    }
                }
            }
            ret ~= " );";
            return ret;
        }

        static auto opCall(ARGS...)(ARGS args) {
            enum  ret = generateCallerString!ARGS...
May 29, 2015
General »
...ret = Tuple!(staticMap!(GetTypeAndName, T))();

    foreach (I, arg; inputs)
    {
        ret[I] = arg.args;
    }

    return ret...
May 29, 2015
Issues »
...typeof({
    char[2] b()() { char[2] ret; return ret; }
    string a() { return b(); }
})));
//////////////////////////////////////////////

compiles in...
May 26, 2015
Issues »
...array;
    alias array this;

    template erroneousTemplateInstantiation()
    {
        static assert(false);
    }

    void foo()
    {
        S ret;
        ret[] = erroneousTemplateInstantiation!();
    }
}

--
May 25, 2015
General »
...i;
     alias i this;
}

auto ret = foo!Bar;
assert(ret == 2); //exactly the second function...
57 58 59 60 61 62 63 64 65 66 67 68
Next ›   Last »