The problem that took him 5 years to fix in C++, I solved in a minute with D

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Mar 11 02:55:37 UTC 2022


On Fri, Mar 11, 2022 at 01:35:46AM +0000, zjh via Digitalmars-d wrote:
[...]
> `D` has no `C++`'s collapse expression.
> And It is orthogonal to the '[]' index. Why not add it in d?
> `...` Folding expression, is very powerful.
> With its help, they can complete powerful metaprogramming like d.

I'm not the one you have to convince; talk to Walter or submit a DIP.
:-)


T

-- 
Food and laptops don't mix.


More information about the Digitalmars-d mailing list