named arguments, string interpolation, please stop.

zjh fqbqrr at 163.com
Fri Jan 12 01:49:34 UTC 2024


On Friday, 12 January 2024 at 01:42:42 UTC, zjh wrote:


```d
void opApply[functionAttribute a](scope int delegate()a dg)a{
     ....
}
//=>
void opApply[aset b](scope int delegate()a dg)a{
     ....
}
```

Here, `'b'` represents the set of attributes, and compare with 
the set of `a`'s attributes to indicate whether or `a` meet `b`.



More information about the Digitalmars-d mailing list