Preventing .init for Archive struct, Programming in D, page 295

Dejan Lekic dejan.lekic at gmail.com
Fri Sep 12 15:41:50 UTC 2025


On Friday, 12 September 2025 at 15:20:38 UTC, Brother Bill wrote:
> Is is possible to 'disable' .init for a struct?

You do not want .init?

Fine:

```d
     Archive noInit = void;
```



More information about the Digitalmars-d-learn mailing list