How to disable/hide constructor when using factory method?

Mike Parker aldacron at gmail.com
Thu Jan 24 14:08:57 UTC 2019


On Thursday, 24 January 2019 at 12:58:15 UTC, JN wrote:

>
> Doh. Of course. I feel so dumb. I just had it at @disable 
> this();, then replaced @disable with private without thinking 
> to add {}

Give me a nickel for every time I've made an edit like that...!


More information about the Digitalmars-d-learn mailing list