November 26 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...more memory to be allocated and the ptr field to point to a new address... | |||
November 26 Issues » [Issue 24884] New: backend generates wrong 32-bit code after inlining math with double[4] | |||
|---|---|---|---|
| |||
...DD 07 fnld qword ptr [EDI] 0034: DC 22 fnsub qword ptr [EDX] 0036: DD... | |||
November 25 Issues » [Issue 24881] ICE on attempt to compare deref of two functions ptr | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24881 --- Comment #1 from basile-z <b2... | |||
November 25 Issues » [Issue 24881] New: ICE on attempt to compare deref of two functions ptr | |||
|---|---|---|---|
| |||
...attempt to compare deref of two functions ptr
Product: D
Version: D2
Hardware: x86_64... | |||
November 25 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
The core problem is that ptr is checked at all. Whether it's null or... | |||
November 25 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...and you don't normally access their ptr member (and when you do, it's... | |||
November 25 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
I neglected to mention that: ``` if (a) ``` is equivalent to: ``` if (a.ptr && a.length) ``` | |||
November 25 Issues » [Issue 24878] New: Forward referencing issue | |||
|---|---|---|---|
| |||
...circular reference!
enum AllocAlignment = T.sizeof;
T* ptr;
}
struct Test
{
Container!Test test;
}
error : struct... | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...açarsanız `.ptr` de kullanmanız gerekecek. Örneğin: ```d hexMap.ptr.generateHexMap(ROWS, COLUMNS); // ^-- biz kaşındık ptr... | |||
November 21 Genel » Re: @nogc | |||
|---|---|---|---|
| |||
...sizeof))[0..5];
...
free(cast(void*)arr.ptr);
}
```
Burada yapNogc'yi nogc olmayan herhangi bir... | |||
Copyright © 1999-2021 by the D Language Foundation