Alternative Possibility - Implicit with

zjh fqbqrr at 163.com
Sun Nov 20 01:11:49 UTC 2022


On Sunday, 20 November 2022 at 01:07:14 UTC, zjh wrote:
> In this way, just like a `'free functions'`, you can directly 
> use the 'static' function in the 'class/struct'.
>
> How about this?

For a specific function, you only need to give the `syntax` for 
opening a specific namespace such as `'enum/struct/class'`etc. 
The `existing syntax/tools` will not be broken or not much damage.





More information about the Digitalmars-d mailing list