Search

July 08, 2020
Learn »
...argi], (Parameters!FUNC)[argi])) {
								//pragma(msg, format("implc...function call

		} else {
			static assert(0, format("No...
July 06, 2020
Issues »
...Issue ID: 21018
           Summary: Assert fails glue.d...Specs ) {}
                               f(T.init);
                           } );

pragma(msg, is(Tuple...
June 17, 2020
General »
...conditions (static if, static assert, template constraints) and...1..5) {
    x += i;
}
pragma(msg, x); // 10...
June 17, 2020
General »
...of how pragma(msg) works.

It's evaluated eagerly.
If you put a pragma(msg...
June 17, 2020
General »
...s more than a order-dependency issue.

  pragma(msg, Foo.tupleof.length); // prints 1

  struct...
June 16, 2020
General »
...I've put a pragma msg in the...now:

conclusion: avoid static `assert(0)` in templates...
June 15, 2020
General »
...with such a pragma could not be elided by trusting a regular assert (nor by...
June 13, 2020
General »
...assert(is(typeof(foo) == function));
    static assert(is(typeof(bar) == function));

    // this doesn't:
    pragma...
June 12, 2020
Learn »
...static assert(__traits(isRef, x));
    }(} ~ expr ~ q{))
};

pragma(msg, mixin(isLvalue!"foo()")); // true
pragma(msg...
June 09, 2020
Issues »
...member,
true).length == 0)
        {
            pragma(msg, "`", member, "` ", "is...break;
        }
    }
    return result;
}
static assert(onlyFuncs());

void main...
10 11 12 13 14 15 16 17 18 19 20 21
Next ›   Last »