Struct bug?

Andrea Fontana nospam at example.com
Mon Oct 2 09:34:29 UTC 2017


On Monday, 2 October 2017 at 09:08:59 UTC, Biotronic wrote:
> Not knowing what you're attempting to do, I'm not sure how to 
> fix your problem. But if what I've described above does indeed 
> cover it, initializing b in the constructor is the way to get 
> it to work.
>
> --
>   Biotronic

Obviusly real example is quite different and larger.
Anyway: you cant put a default destructor on struct


More information about the Digitalmars-d-learn mailing list