Search

June 13, 2023
Learn »
...it fails in the `shared` case:

```d
assert(typeid(ti) == typeid(TypeInfo_AssociativeArray));
```

If there...
June 13, 2023
Learn »
internal detail.

Static assert will render the message by formatting an AST node, i.e...
June 13, 2023
Learn »
...that:
```
void main() {

// static assert (false, "Static Assert triggered");
   assert(false, "Assert triggered");

}
```
produces
```
core...
June 10, 2023
Issues »
...g()
{
    f(null, null);
}
```

Hits the `default: assert(0)` in dmd.escape.isReferenceToMutable, because it...
June 09, 2023
Learn »
...offs 1
    ulong b; // offs 8
}

static assert(S1.sizeof > S2.sizeof); // 24 VS 16...
June 09, 2023
Issues »
...casted".writeln;
                return up;//down;
        }
        bool down(){
                assert(j==0,"called down on something not...
June 08, 2023
Issues »
...void h()
{
    const auto classPtr = SPtr.init;
    assert(!__traits(compiles, *classPtr));
}

struct SPtr
{
    A ptr...
June 08, 2023
Issues »
...line:

source/mud/memory/smartpointers.d:179
```
assert(!__traits(compiles, *classPtr));
```

I'm looking into...
June 08, 2023
GDC »
...supply one

   	static assert( eax.sizeof * 8 == 32 );	// optional, exact
   	static assert( eax.sizeof * 8...
June 07, 2023
Issues »
...103.1 and dmd-2.104.0
    assert(a.slide(2).map!(r => r.walkLength...
72 73 74 75 76 77 78 79 80 81 82 83
Next ›   Last »