6 hours ago Issues » [Issue 16973] `hashOf` has error-prone signature as `(T, seed)` may be confused with `(ptr, length)` | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=16973 --- Comment #6 from dlangBugzillaToGithub <robert.schadek... | |||
1 day ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...delegate() dlg;
dlg.funcptr = serializationMethods[myType];
dlg.ptr = cast (void *) this;
dlg();
stdout.flush;
}
void... | |||
2 days ago General » Re: Something like ADL from C++? | |||
|---|---|---|---|
| |||
...where 's' happens to be a struct ptr:
```Go
var b []byte
b, err := json... | |||
6 days ago Issues » [Issue 24890] spec/arrays.dd should mention comparison and warn about dangling .ptr | |||
|---|---|---|---|
| |||
...known at compile-time. Add .ptr section. Document that .ptr can be dangling so it... | |||
November 29 Issues » [Issue 24890] spec/arrays.dd should mention comparison and warn about dangling .ptr | |||
|---|---|---|---|
| |||
...known at compile-time. Add .ptr section. Document that .ptr can be dangling so it... | |||
November 29 Issues » [Issue 24890] New: spec/arrays.dd should mention comparison and warn about dangling .ptr | |||
|---|---|---|---|
| |||
...should mention comparison and warn
about dangling .ptr
Product: D
Version: D2
Hardware: x86_64... | |||
November 29 Issues » [Issue 4733] Possible bugs caused by dynamic arrays in boolean evaluation context | |||
|---|---|---|---|
| |||
...if (arr !is null)` and `if (arr)` are equivalent to `if (a.ptr || a.length)`. -- | |||
November 29 Issues » [Issue 4733] Possible bugs caused by dynamic arrays in boolean evaluation context | |||
|---|---|---|---|
| |||
...org> --- kdevel adds detail that `if (arr.ptr)` and `if (arr)` are not the same... | |||
November 29 Issues » [Issue 24881] ICE on attempt to compare deref of two functions ptr | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24881 --- Comment #2 from basile-z <b2... | |||
November 28 General » Re: Just a friendly reminder about using arrays in boolean conditions | |||
|---|---|---|---|
| |||
...idiomatic and more readable is if (arr.ptr) But wait, that's not the same... | |||
Copyright © 1999-2021 by the D Language Foundation