Is @disable obsolete?

Brother Bill brotherbill at mail.com
Wed Aug 6 00:42:43 UTC 2025


It doesn't seem like modern D needs the @disable feature.

If a struct has a user provided constructor, then the default 
constructor is removed.

Are there any cases where @disable is useful in modern D?


More information about the Digitalmars-d-learn mailing list