Search

June 23, 2021
General »
...arr_node).type;
static assert(
    arr_type.kind...arr_type.dim == 2
);

pragma(msg, arr_node...
June 02, 2021
Issues »
...com

```D
import std;

pragma(msg, __VERSION__);

class...y = y; };
    this(this) { assert(x == 42); }
    ~this...
May 16, 2021
Issues »
...as below.
*/
pragma(msg, T2); /* Prints "void function() pure nothrow @nogc @safe". */

static assert(is...
May 15, 2021
Issues »
...void main() {
    pragma(msg, typeof(bla)); // @safe int delegate() @safe(int i)
    assert(bla(5...
May 14, 2021
General »
...is null)]; }
    } else {
	static assert(is(Address == class...compiles, a = up.address)) {
            pragma(msg, "a: ACCEPTS...
May 13, 2021
Learn »
...sit amet`);
    assert(`"Lorem \"`.unquoted == `"Lorem \"`);
    assert("\"Lorem \\\"".unquoted == "\"Lorem \\\"");
    assert(`"\"`.unquoted == `"\"`);
}


pragma(inline, true...
May 13, 2021
Learn »
...2D array (Vector)

Example:

*/
pragma(inline, true)
Point2...10.0], PI_2);
    assert(p == [-10.0...
May 06, 2021
Issues »
...U))
    {
        pragma(msg, "assigning");
        Fails = U;
    }
}

static assert(is(Works!(const int) == int));
static assert...
May 03, 2021
General »
...2: 3, 0: 1 ];
assert(xs == [1, 0...void f(T)(T[]) { pragma(msg, T); }
f...
April 29, 2021
Learn »
...can access locals
pragma(inline, true)
string getDRYstr(T, parameters...)() {
    static assert(__ctfe);
    string mixedinstr...
4 5 6 7 8 9 10 11 12 13 14 15
Next ›   Last »