March 24, 2020 Issues » [Issue 15431] pragma mangle and mangleof are order dependent | |||
|---|---|---|---|
| |||
...probable solution is to move the pragma (and static assert) processing to semantic2 rather than... | |||
March 13, 2020 Issues » [Issue 20670] New: immutable template specialization pattern matches immutable struct, strips immutable | |||
|---|---|---|---|
| |||
...T) { static assert(is(S == T)); }
mixin template Foo(T: immutable U, U) {
pragma(msg... | |||
March 02, 2020 Learn » Re: Improving dot product for standard multidimensional D arrays | |||
|---|---|---|---|
| |||
...the code looks now.
*************************************************************************
pragma(inline) static int...Matrix!T initM)
in
{
assert(m1.rows == m2... | |||
March 01, 2020 Learn » Improving dot product for standard multidimensional D arrays | |||
|---|---|---|---|
| |||
...int cols, T[] data)
{
assert(data.length == rows...toIdx(this, r, c)];
}
}
pragma(inline) static int... | |||
February 26, 2020 Issues » [Issue 19268] BetterC turns off DRuntime for CTFE | |||
|---|---|---|---|
| |||
...c\0";
return a;
}
assert(0);
}
enum foo...also do a like `pragma(ct_only)` maybe... | |||
February 20, 2020 Issues » [Issue 10100] Identifiers with double underscores and allMembers | |||
|---|---|---|---|
| |||
...static foreach`
pragma(msg, "x", i, ": ", mixin(`x` ~ to!string(i)));
static assert(mixin(`x... | |||
February 20, 2020 Issues » [Issue 5881] Spellchecker should include built-in keywords | |||
|---|---|---|---|
| |||
...would not work ! there is only `pragma` and `assert` BTW who have a CallExp like... | |||
February 20, 2020 Issues » [Issue 11578] Add pragma error, warning | |||
|---|---|---|---|
| |||
...pragma error would be redundant with static assert, and pragma warning is redundant with pragma... | |||
February 14, 2020 Learn » Re: How to use labeled break in static foreach? | |||
|---|---|---|---|
| |||
...FOUND)) {
pragma(msg, format("entry #%d matches: %s", FOUND, ARRS[FOUND]));
} else {
static assert(0... | |||
February 14, 2020 Learn » How to use labeled break in static foreach? | |||
|---|---|---|---|
| |||
...pragma(msg, "Got a 3!");
break THREELOOP;
}
static if (idx == A.length - 1) {
static assert... | |||
Copyright © 1999-2021 by the D Language Foundation