March 03, 2023 Learn » Re: Passing and returning arguments by ref | |||
|---|---|---|---|
| |||
...arr);
hopefullyRef.change();
assert(hopefullyRef.i == 3);
// The array is still 2
assert(arr[0... | |||
March 02, 2023 General » Re: Why is std.regex slow, well here is one reason! | |||
|---|---|---|---|
| |||
...at all. People use different fonts to assert different meanings all the time. > but there... | |||
March 02, 2023 Learn » Re: foreach with assoc. array | |||
|---|---|---|---|
| |||
...2, 3, 4, 5, 6, 7, 8, 9] assert(IntArr == len.iota.array); } ``` SDB@79 | |||
March 02, 2023 Issues » [Issue 23755] New: array.until!pred should return an array | |||
|---|---|---|---|
| |||
...until(" ");
// This doesn't work, why?
assert(result == "Hello");
assert(result.array == "Hello");
}
```
When `until... | |||
March 01, 2023 Issues » [Issue 23731] [REG2.102] Throwing within finalizers causes InvalidMemoryOperationError on Windows | |||
|---|---|---|---|
| |||
...nogc`. `druntime/test/allocations/src/alloc_from_assert.d` then passes on Windows again (not... | |||
March 01, 2023 Announce » Re: D Language Foundation January 2023 Quarterly Meeting Summary | |||
|---|---|---|---|
| |||
...functions such as malloc/free, exit(or assert) (those are the most basic ones), for... | |||
March 01, 2023 Learn » Re: How would the equivalent C type be in D? | |||
|---|---|---|---|
| |||
...the first index also lies at null. assert(&value[0] is null); // So we try... | |||
February 28, 2023 Issues » [Issue 16332] std.algorithm.copy uses too restricted array specialization | |||
|---|---|---|---|
| |||
...be equivalent to:
foreach(idx; 0 .. cfoo.length)
foo[idx] = cfoo[idx];
assert(foo == cfoo);
}
-- | |||
February 28, 2023 Genel » Re: CircularList: Dairesel Kuyruk Yapısı | |||
|---|---|---|---|
| |||
Sonunda bir çözüm buldum, üstelik `static assert`'den de kurtuldum. Çözümü [şurada](https://forum.dlang... | |||
February 28, 2023 General » Collaborative Container | |||
|---|---|---|---|
| |||
...Moreover, I got rid of the `static assert`:
```d
struct S(Node)
{
static if(is... | |||
Copyright © 1999-2021 by the D Language Foundation