Search

April 18, 2023
General »
...that all the time. I don't assert the default statement, because in a lot...
April 17, 2023
Issues »
...com> ---
Having an error in the static assert expression does not mean that the expression...
April 17, 2023
Announce »
...wrt. leaking `Throwable.info` backtraces.
* Fix C assert calls for newlib targets.

Full release log...
April 16, 2023
General »
...2)` would be an example, as in

```d
assert(1 / double(2) == 0.5);
```

-- Bastiaan.
April 16, 2023
General »
...immutable double(2);
    static assert(is(typeof(x)==immutable double));
    assert(x==2);
}
---

TBH I...
April 15, 2023
Learn »
...new Object();
}

void foo(shared Object o)
{
   assert(o !is null);
}

Note how foo's...
April 15, 2023
Issues »
...U
{
    float x = 0;
    float y;
}

static assert(__traits(isZeroInit, U)); // fails
```

It also wastes...
April 15, 2023
Learn »
...alias x this;
}

void foo(Object o)
{
   assert(o !is null);
}

void main()
{
   Wrapper w...
April 15, 2023
Learn »
...main() {
  MyClass c1 = new MyClass();
  MyClass c2 = new MyClass();
  assert(c1.var is c2.var);
}
```
April 13, 2023
Genel »
...Tarih.AY;
  date.month.write("/");

  assert(date["month"] != Tarih.AY);
  assert(date["month"].type == typeid...
83 84 85 86 87 88 89 90 91 92 93 94
Next ›   Last »