May 07, 2023 Issues » [Issue 23901] Spurious "Cannot move object [...] with internal pointer" | |||
|---|---|---|---|
| |||
...internal pointer unless `opPostMove` is defined. ---------------- ??:? _d_assert_msg [0x55972b30555c] ??:? pure nothrow @nogc @safe void... | |||
May 06, 2023 General » Re: rectifiedIndexOf() | |||
|---|---|---|---|
| |||
... assert(num > 0);
} else {
//assert(num == 0);
}
```
I would like these... | |||
May 05, 2023 General » Re: rectifiedIndexOf() | |||
|---|---|---|---|
| |||
...if (auto res = IndexOfResult(arr.indexOf(chr)))
{
assert(arr[res] == chr);
res.writefln!"[ --> %s ]";
}
else... | |||
May 05, 2023 Issues » [Issue 23891] New: [DIP1000] delegate sometimes ignores lifetimes | |||
|---|---|---|---|
| |||
...Func function() pure nothrow @nogc @safe;
static assert(is(typeof(&f) == F));
}
ref int h4... | |||
May 05, 2023 General » Re: rectifiedIndexOf() | |||
|---|---|---|---|
| |||
...res = arr.indexOf(chr).toBool)
{
arr.writeln;
assert(arr[res] == chr);
' '.repeat(res).writeln("^--found... | |||
May 05, 2023 Issues » [Issue 18297] Prelude assert removed from all methods | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=18297 RazvanN <razvan.nitu1305@gmail.com> changed... | |||
May 05, 2023 Issues » [Issue 23890] New: "Warning: cannot inline function" in core.lifetime | |||
|---|---|---|---|
| |||
...i + b.i)(NC(2), NC(3));
assert(f() == 5);
}
//////////////////////////////////////////////////////////////
Command: dmd -o- -unittest -wi... | |||
May 05, 2023 General » Re: rectifiedIndexOf() | |||
|---|---|---|---|
| |||
...if (auto res = arr.indexOf(chr).toBool())
{
assert(res == 1);
}
}
```
`opCast` is used for the... | |||
May 05, 2023 General » rectifiedIndexOf() | |||
|---|---|---|---|
| |||
...dup;
if(auto res = arr.rectifiedIndexOf(chr))
{
assert(arr[res - 1] == chr);
res.writefln!"[ --> %s... | |||
May 03, 2023 Genel » Re: LookUp ve AA | |||
|---|---|---|---|
| |||
...Salih Dincer wrote: > auto test1 = table["ID10"]; > assert(test1 is null); Yani, 'null' geçerli bir... | |||
Copyright © 1999-2021 by the D Language Foundation