Search

March 24, 2020
Issues »
...probable solution is to move the pragma (and static assert) processing to semantic2 rather than...
March 13, 2020
Issues »
...T) { static assert(is(S == T)); }

mixin template Foo(T: immutable U, U) {
  pragma(msg...
March 02, 2020
Learn »
...the code looks now.

*************************************************************************
pragma(inline) static int...Matrix!T initM)
in
{
    assert(m1.rows == m2...
March 01, 2020
Learn »
...int cols, T[] data)
    {
        assert(data.length == rows...toIdx(this, r, c)];
    }

}

pragma(inline) static int...
February 26, 2020
Issues »
...c\0";
                return a;
        }
        assert(0);
}

enum foo...also do a like `pragma(ct_only)` maybe...
February 20, 2020
Issues »
...static foreach`
      pragma(msg, "x", i, ": ", mixin(`x` ~ to!string(i)));
      static assert(mixin(`x...
February 20, 2020
Issues »
...would not work !


there is only `pragma` and `assert` BTW who have a CallExp like...
February 20, 2020
Issues »
...pragma error would be redundant with static assert, and pragma warning is redundant with pragma...
February 14, 2020
Learn »
...FOUND)) {
	pragma(msg, format("entry #%d matches: %s", FOUND, ARRS[FOUND]));
} else {
	static assert(0...
February 14, 2020
Learn »
...pragma(msg, "Got a 3!");
		break THREELOOP;
	}
	static if (idx == A.length - 1) {
		static assert...
12 13 14 15 16 17 18 19 20 21 22 23
Next ›   Last »