Search

September 10, 2019
General »
...is true, not just assert it. At the...T for type ulong
   pragma(msg, size!int...
August 13, 2019
General »
...the idea of static assert behaving correctly (note...derp;
    alias derp this;
}

pragma( msg, SomethingElse.Val...
July 30, 2019
General »
...bool kill() {
     return true;
   }
}

pragma(msg, typeof(&__traits...typeof(KillCallback.init.funcptr) );

static assert(IS_SAME);
July 30, 2019
General »
...bool kill() {
     return true;
   }
}

pragma(msg, typeof(__traits...typeof(KillCallback.init.funcptr) );

static assert(IS_SAME);








July 30, 2019
Learn »
...static assert( isFunction!Fn );
    pragma(msg, D);
    pragma(msg, typeof(D.init.funcptr));
    pragma(msg...
July 29, 2019
Learn »
...return true; }
}
void main()
{
    pragma(msg, typeof(&MyRange...const. */
    const MyRange!() r;
    assert(r.empty); /* fails...
July 27, 2019
General »
...static_assert(alias condition, string message)()
{
    version(continue_past_assert)
    {
        static if (!condition)
            pragma(msg...
July 27, 2019
General »
...point myself. The static assert here is kinda useless, a pragma( msg ) won't stop...
July 27, 2019
General »
...if` combined with `pragma (msg, ...)` not be more appropriate than `static assert`? This can probably...
July 26, 2019
Issues »
...void dummyDtor()
{
    // dtor not linked in!
    assert(false);
}

pragma(linkerDirective, "/ALTERNATENAME:" ~ S.__dtor.mangleof ~ "=" ~
dummyDtor...
14 15 16 17 18 19 20 21 22 23 24 25
Next ›   Last »