Worst ideas/features in programming languages?

zjh fqbqrr at 163.com
Sun Jan 9 14:05:15 UTC 2022


On Sunday, 9 January 2022 at 12:48:37 UTC, max haughton wrote:

>
> D does have it

folding expression `...`,like this:

```d
template<class...A,class...B>
required allsame<A...>&&allsame<B...>
void f(map<A,B>&...t){
     (print(t.size()),...);//here.
}
```





More information about the Digitalmars-d mailing list