Implicit cast primitive type construction

Daniel N no at public.email
Thu Oct 10 20:25:31 UTC 2024


On Thursday, 10 October 2024 at 17:52:36 UTC, ryuukk_ wrote:
> I was doing this:
>
> `cstats.stamina = cstats.stamina + 1;`
>
>
> but it doesn't compile
>

basically the only solution is
cstats.stamina += 1;



More information about the dip.ideas mailing list