Default struct member initializer ?

John Colvin via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 28 04:44:15 PDT 2016


On Friday, 28 October 2016 at 11:37:52 UTC, Temtaime wrote:
> But what about the case when default ctor is disabled ?

Only relevant if you've written something like `@disable static S 
init();`, which you shouldn't be doing anyway. `.init` is 
independent of `@disable this()`


More information about the Digitalmars-d mailing list