February 03, 2021 [Issue 21608] [betterC] static slices are allowed and have the wrong size | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21608 kinke <kinke@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kinke@gmx.net Resolution|--- |INVALID --- Comment #1 from kinke <kinke@gmx.net> --- A slice is a fat pointer, nothing more. So no direct dependency on TypeInfos and no reason to disallow them for -betterC. -- |
February 04, 2021 [Issue 21608] [betterC] static slices are allowed and have the wrong size | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21608 moonlightsentinel@disroot.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |moonlightsentinel@disroot.o | |rg --- Comment #2 from moonlightsentinel@disroot.org --- Also, sizeof returns the size of the pointer + length, not the actual array. -- |
Copyright © 1999-2021 by the D Language Foundation