July 04, 2022 General » Re: Metaprog can be abstruse | |||
|---|---|---|---|
| |||
...100000000,
1000000000,
10000000000,
100000000000,
1000000000000
];
pragma (msg, typeof (ar13));
assert (make_decimal_rank == ar13);
}
```
Running... | |||
June 29, 2022 Issues » [Issue 23219] New: ICE: AssertError@src/dmd/hdrgen.d(1910): Assertion failure | |||
|---|---|---|---|
| |||
...1910): Assertion failure
pragma(msg, convtest([1,2,3,4])[0]);
// ???
//static assert(convtest([1... | |||
June 29, 2022 Issues » [Issue 23218] New: ICE: src/dmd/backend/cgxmm.d:1373: Assertion `0' failed. | |||
|---|---|---|---|
| |||
...1
pragma(msg, convtest([1,2,3,4])[0]);
// Passes CTFE -> OK
static assert(convtest... | |||
June 21, 2022 Issues » [Issue 23200] sqrt cast to long and ulong differ | |||
|---|---|---|---|
| |||
...static import core.math; pragma(inline, true) double...cast (long) sqrt(d); assert (r1 == r2); } ``` It... | |||
May 24, 2022 Learn » Re: Cannot check function address | |||
|---|---|---|---|
| |||
...foo(string) {}
pragma(msg, typeof(foo));
pragma(msg...the *exact place* the assert is failing to... | |||
May 24, 2022 Learn » Re: Cannot check function address | |||
|---|---|---|---|
| |||
...import std.traits; pragma(msg, fullyQualifiedName!fun); ``` inside the place where your assert is failing... | |||
April 10, 2022 Duyuru » Re: Sohbet: 10 Nisan 2022, Pazar, sabah 11:00 | |||
|---|---|---|---|
| |||
...7; const g = e(bir_sey); assert(g == 3); pragma(msg, typeof(f)); return f... | |||
April 09, 2022 General » Yes, constraints can have helpful error messages! | |||
|---|---|---|---|
| |||
...that of all things `pragma` was called to...is(RT == bool))
{
static assert(!asserts,expect!(RT... | |||
April 08, 2022 General » Re: Why I love D: interfacing with XCB | |||
|---|---|---|---|
| |||
...Parameters!(mixin(reqFunc));
static assert(Args.length > 0...opDispatch!"get_window_attributes";
//pragma(msg, typeof(F... | |||
March 29, 2022 Issues » [Issue 22955] New: importC: wrong alignof for D struct with specified alignment | |||
|---|---|---|---|
| |||
...from __builtins.di: _Static_assert( _Alignof(__uint128_t...in D: import __builtins; pragma(msg, __uint128_t... | |||
Copyright © 1999-2021 by the D Language Foundation