Class/struct invariants

bearophile bearophileHUGS at
Wed Jun 16 09:40:48 PDT 2010

Steven Schveighoffer:
> What you want is to be able to disable the default constructor.  Andrei  
> has hinted it might be a future improvement on other threads.

It's a good idea. I just hope this disabling will have an explicit & readable syntax (maybe @disable can be used here).


More information about the Digitalmars-d-learn mailing list