mixin template's alias parameter ... ignored ?

Mike Parker aldacron at gmail.com
Tue Jul 13 02:22:46 UTC 2021


On Tuesday, 13 July 2021 at 01:03:11 UTC, someone wrote:
>
> Being *local* to ... ain't imply visibility too regardless 
> scope not being a visibility attribute ? I mean, scope is 
> restricting the variable to be leaked outside the 
> function/whatever and to me it seems like restricted to be seen 
> from the outside. *Please note* that I am not making an 
> argument against the implementation, I am just trying to 
> understand why it is not being classified as another visibility 
> attribute given that more-or-less has the same concept as a 
> local variable like in other languages.


> OK. Specifically to integers nothing then. But, what about 
> strings and whatever else ? I put them more-or-less as a 
> general rule or so was the idea when I replaced the in's in the 
> parameters app-wide.

Hopefully, my post above will shed some light on this.






More information about the Digitalmars-d-learn mailing list