Search

March 28, 2018
Learn »
...hasPosition)
		{
		assert(0, "Need to pass a position!");
		}

    static if (hasPosition && !hasRotate && !hasScale)
		{
        // Stuff
		pragma...
March 14, 2018
General »
...mixin(generateFunction("pragma(inline)", "int", "add", "int a, int b", "return a + b;"));

assert(100...
March 12, 2018
Issues »
...u;
        }
        else static assert(false);
        assert(hosts[n...ubyte filler;
    Victim* p;
}

pragma(msg, Unaligned.sizeof...
March 09, 2018
Learn »
...memberTypes ~= ReturnType!S.member;
   }

   pragma(msg, memberTypes); // prints...AliasSeq!(TL, char);
   static assert(is(Types == AliasSeq...
March 04, 2018
Issues »
...u;
        }
        else static assert(false);
        assert(hosts[n...ubyte filler;
    Victim* p;
}

pragma(msg, Unaligned.sizeof...
February 17, 2018
Issues »
...dgs = [dg,dg,dg,dg];
    //pragma(msg, isInputRange!(typeof(dgs)));
    //assert(isInputRange!(typeof(dgs)));
    dgs...
February 11, 2018
General »
...import std.range : only;
            assert(__ctfe);
            mixin("static...moduleSys!"std.typecons".allMembers;
    pragma(msg, x);
}
---


https...
February 06, 2018
General »
...VecOp(T)
{
    T[] arr;

    pragma(inline, true)
    T...a.vecOp += iota(3);

    assert(a == [1, 3...
January 26, 2018
Issues »
...struct T { }

pragma(msg, T); // const(T)
pragma(msg, Unqual!T); // T

static assert(!is...
January 19, 2018
Issues »
...pragma(msg, T1); // const(int[]) // Const array
    pragma...const(int[]);
    assert(fn1(T.init));
    assert(fn2...
21 22 23 24 25 26 27 28 29 30 31 32
Next ›   Last »