Class/struct invariants

bearophile bearophileHUGS at lycos.com
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).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list