How do you properly use immutable on class members?
salihdb at hotmail.com
Tue Mar 29 21:33:35 UTC 2022
On Tuesday, 29 March 2022 at 19:26:51 UTC, Ali Çehreli wrote:
> Better yet, and as I know you know :), and as it comes up
> occasionally but I usually forget in my own code; 'in' is much
> better than 'const' on function parameters because it has super
> powers when compiled with -preview=in:
Hello to everyone.
I think const is a redundant thing. Can you show me a direct
side-effect that happens when we don't use const?
SDB at 79
More information about the Digitalmars-d-learn