lambdas with types

Adam D. Ruppe destructionator at gmail.com
Fri Nov 20 15:09:58 UTC 2020


On Friday, 20 November 2020 at 15:07:09 UTC, H. S. Teoh wrote:
> Wouldn't it be just syntactic sugar for a manually-declared 
> helper template?

Yeah, there's just both alias and enum helper templates that can 
both be useful at times so you might have to use those keywords 
in there somewhere too. (isInputRange is prolly an enum, but like 
ElementTypeOf is an alias...)


More information about the Digitalmars-d-learn mailing list