Is @disable obsolete?
H. S. Teoh
hsteoh at qfbox.info
Wed Aug 6 14:58:21 UTC 2025
On Wed, Aug 06, 2025 at 12:42:43AM +0000, Brother Bill via Digitalmars-d-learn wrote:
> 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.
This is incorrect.
T
--
The Axiom of Choice is obviously true, the well-ordering principle obviously false, and who can tell about Zorn's lemma? -- Jerry Bona
More information about the Digitalmars-d-learn
mailing list