On Wednesday, 5 October 2022 at 20:40:46 UTC, torhu wrote:
Am I doing something wrong here?
Right, you can instantiate structs without arguments. It's been ten years since I last used D, I was thinking of structs like if they were classes.
torhu via Digitalmars-d-learn Wed, 05 Oct 2022 13:51:34 -0700
On Wednesday, 5 October 2022 at 20:40:46 UTC, torhu wrote:
Am I doing something wrong here?
Right, you can instantiate structs without arguments. It's been ten years since I last used D, I was thinking of structs like if they were classes.