Search

June 13, 2018
General »
...static assert(0);
        }
    }

    class S(int n) { }

    pragma(msg, X!(S!3)); // S!0
    pragma...
June 13, 2018
General »
...assert(y2 == x);
            assert(x == y);
            return z;
        }
        return fnC();
    }
    return x + passThrough(x);
}

pragma...
May 09, 2018
Learn »
...this(this);
        int* _ptr;
    }
    pragma(msg, typeof(S...NoGc int* _ptr;
    }
    static assert(!mustAddGCRangeOfStructOrUnion!S); // is...
May 07, 2018
Issues »
...fun2;

void fun() { }

pragma(msg, __traits(getMember, foo, "fun").stringof);
static assert(__traits(compiles, __traits...
May 07, 2018
Issues »
...those lines crashes
pragma(msg, __traits(getMember, foo, "fun").stringof);
static assert(__traits(compiles, __traits...
May 05, 2018
Issues »
...pragma(msg, typeof(int.init)); // Works: int
pragma...int`.
    // ...

// but, obviously:
static assert(is(typeof(int...
April 23, 2018
Learn »
...void main()
{
	pragma(msg, A.Foo1!2);
	pragma(msg, A.Foo1!3);
	static assert(!is...
April 23, 2018
Issues »
...that calls member destructors.
    pragma(msg, __traits(allMembers, S2));

    s.__xdtor();
    assert(s.a.value...
April 15, 2018
Learn »
...generateViewsResult)
    {
        pragma(msg, "Compiling: " ~ viewResult.name);
        pragma(msg...static assert(!__traits(compiles, mixin(s)));
static assert...
April 02, 2018
Learn »
...this should be pure
    {
        pragma(inline, true);
        return...x = make!DoubleNode(42);
        assert(x);
        latestPtr = cast...
20 21 22 23 24 25 26 27 28 29 30 31
Next ›   Last »