Search

January 20, 2023
Learn »
...string[] e = ["a", "b", "c", "d", "e"];
    assert(c.equal(e));
    typeof(c).stringof.writeln...
January 19, 2023
General »
...auto s1 = S();
    assert(s1.fun() == 1); // ok
    auto s2 = S.init;
    assert(s2.fun...
January 19, 2023
General »
...R == return))
        alias RT = R;
    else
        static assert(false, "bad");
}

...

else version(useIsExpr)
{
    enum isInputRange...
January 19, 2023
General »
...map!(c => GridBlockSerial(cast(GridBlock)c))();
		static assert(is(ElementType!(typeof(r)) == GridBlockSerial));

		// trustRange wraps...
January 18, 2023
General »
...R == return))
            alias ReturnType = R;
        else
            static assert(0, "argument has no return type");
    }

ReturnType...
January 17, 2023
General »
...1, 2, 3);
        assert(foo.x == 1);
        assert(foo.y == 2);
        assert(foo.z == 3);
}
January 17, 2023
General »
...S!0 s;
    writeln(s.has500);
    static assert(!is(typeof(s.has501)));
}

I.e., there...
January 16, 2023
General »
...uint(value);
        writePos += uint.sizeof;
      }

      uint readUint()
      {
        assert(readPos == 0);
        uint value = littleEndianToNative!uint(cast...
January 16, 2023
General »
...I'm a bit confused.

    uint read()
    {
      assert(pos == 68);

      uint value = littleEndianToNative!uint(cast...
January 16, 2023
General »
...1;

  int[Index!int(2)()] b = 2;
  static assert(a.length < b.length);
}
```
SDB@79
106 107 108 109 110 111 112 113 114 115 116
Next ›   Last »