Search

6 hours ago
Issues »
https://issues.dlang.org/show_bug.cgi?id=16973

--- Comment #6 from dlangBugzillaToGithub <robert.schadek...
1 day ago
General »
...delegate() dlg;
        dlg.funcptr = serializationMethods[myType];
        dlg.ptr = cast (void *) this;
        dlg();
        stdout.flush;
    }
    void...
2 days ago
General »
...where 's' happens to be a struct ptr:

```Go
    var b []byte
    b, err := json...
6 days ago
Issues »
...known at compile-time.

  Add .ptr section.
  Document that .ptr can be dangling so it...
November 29
Issues »
...known at compile-time.

  Add .ptr section.
  Document that .ptr can be dangling so it...
November 29
Issues »
...should mention comparison and warn
                    about dangling .ptr
           Product: D
           Version: D2
          Hardware: x86_64...
November 29
Issues »
...if (arr !is null)` and `if (arr)` are equivalent to
`if (a.ptr || a.length)`.

--
November 29
Issues »
...org> ---
kdevel adds detail that `if (arr.ptr)` and `if (arr)` are not the same...
November 29
Issues »
https://issues.dlang.org/show_bug.cgi?id=24881

--- Comment #2 from basile-z <b2...
November 28
General »
...idiomatic and more readable is

   if (arr.ptr)

But wait, that's not the same...
« First   ‹ Prev
1 2
Next ›   Last »