Search

April 28, 2023
Issues »
https://issues.dlang.org/show_bug.cgi?id=23864

Walter Bright <bugzilla@digitalmars.com> changed...
April 28, 2023
General »
...compiled binary) and dmd screwed up on "assert(scip != NULL);". I tracked that down  to...
April 28, 2023
Issues »
...dmd either.

my_assert.h is a copy of the system's assert.h

System...
April 26, 2023
Learn »
...unaryFun

alias isEven = unaryFun!("(a & 1) == 0");
assert(isEven(2) && !isEven(1));

If interested just...
April 26, 2023
Issues »
...accepts valid
static assert(is(typeof(S.tupleof) == AliasSeq!())); // accepts valid

static assert(is(typeof...
April 21, 2023
Learn »
...writeln;

    assert(result == reduce!totalPersonAge(0, p));
    assert(result == p.fold!totalPersonAge(0));
    assert(p...
April 20, 2023
Issues »
...default_357-line@yahoo.de> ---
Another repro:

```
assert([false, true, false]
    .chunkBy!(a => a)
    .slide...
April 19, 2023
General »
...x = double();
   x = 2;
   static assert(is(typeof(x) == double));
   assert(x == 2);
}
```
Another example...
April 18, 2023
Issues »
...auto range = [S([3]), S([4, 5])];

    assert(range.map!"a.arr".joiner.array == [3...
April 18, 2023
Issues »
...chain(only(S(5)), only(S(6)));
    assert(range.array == [S(5), S(6)]);
}
```

It...
82 83 84 85 86 87 88 89 90 91 92 93
Next ›   Last »