struct parameterless constructor
monkyyy
crazymonkyyy at gmail.com
Mon Aug 4 20:31:44 UTC 2025
On Monday, 4 August 2025 at 20:02:48 UTC, Brother Bill wrote:
> I feel like I am going into the hornet's nest with this
> discussion.
>
> I have created a struct with some members, and want to have a
> parameterless constructor that sets the member values at run
> time.
I know of no sane way to do that, I can imagine a something that
could be worth a try if you want to really force it.
More information about the Digitalmars-d-learn
mailing list