Would love to override default ctor of struct

Dru dru at notreal.com
Sat Jan 19 10:05:22 UTC 2019


What is the idea behind why we can't define default ctor for 
structs?

In current situation I need to "@disable this()"
then define a constructor with dummy arguments  (because my 
constructor does not need arguments)

It is a big pain on syntax



More information about the Digitalmars-d mailing list