April 28, 2023 Issues » [Issue 23864] importC fails on assert( pointer != NULL ) | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=23864 Walter Bright <bugzilla@digitalmars.com> changed... | |||
April 28, 2023 General » Re: ImportC and #include files | |||
|---|---|---|---|
| |||
...compiled binary) and dmd screwed up on "assert(scip != NULL);". I tracked that down to... | |||
April 28, 2023 Issues » [Issue 23864] New: importC fails on assert( pointer != NULL ) | |||
|---|---|---|---|
| |||
...dmd either. my_assert.h is a copy of the system's assert.h System... | |||
April 26, 2023 Learn » quick question, probably of little importance... | |||
|---|---|---|---|
| |||
...unaryFun
alias isEven = unaryFun!("(a & 1) == 0");
assert(isEven(2) && !isEven(1));
If interested just... | |||
April 26, 2023 Issues » [Issue 23863] New: `typeof` rejects `AliasSeq!()` as argument | |||
|---|---|---|---|
| |||
...accepts valid static assert(is(typeof(S.tupleof) == AliasSeq!())); // accepts valid static assert(is(typeof... | |||
April 21, 2023 Learn » Re: Getting a total from a user defined variable | |||
|---|---|---|---|
| |||
...writeln;
assert(result == reduce!totalPersonAge(0, p));
assert(result == p.fold!totalPersonAge(0));
assert(p... | |||
April 20, 2023 Issues » [Issue 19642] std.range.slide!(No.withPartial) on lengthless forward range: get empty when expecting one window | |||
|---|---|---|---|
| |||
...default_357-line@yahoo.de> ---
Another repro:
```
assert([false, true, false]
.chunkBy!(a => a)
.slide... | |||
April 19, 2023 General » Re: need examples to understand postfix expression grammar | |||
|---|---|---|---|
| |||
...x = double(); x = 2; static assert(is(typeof(x) == double)); assert(x == 2); } ``` Another example... | |||
April 18, 2023 Issues » [Issue 22785] joiner does not support range over immutable | |||
|---|---|---|---|
| |||
...auto range = [S([3]), S([4, 5])];
assert(range.map!"a.arr".joiner.array == [3... | |||
April 18, 2023 Issues » [Issue 23844] New: chain(only) doesn't support immutable structs | |||
|---|---|---|---|
| |||
...chain(only(S(5)), only(S(6)));
assert(range.array == [S(5), S(6)]);
}
```
It... | |||
Copyright © 1999-2021 by the D Language Foundation