Private struct constructor

John Chapman johnch_atms at hotmail.com
Thu Oct 4 07:59:44 UTC 2018


On Thursday, 4 October 2018 at 07:31:21 UTC, Ritchie wrote:
> Any reason why this works?
>
> https://run.dlang.io/is/TALlyw

"private" applies to the module, not the type. 
https://dlang.org/spec/attribute.html#visibility_attributes


More information about the Digitalmars-d-learn mailing list