On Wednesday, 5 October 2022 at 20:45:55 UTC, torhu wrote:
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.

I think there should be sensible default here, seems like an easy trap to remove.

Reply via email to