First-class polymorphic lamdas?
Vladimir Panteleev via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 3 15:31:19 PDT 2016
On Friday, 3 June 2016 at 11:11:50 UTC, Vladimir Panteleev wrote:
> For some reason I didn't realize you can also create a value
> type templated functor by using explicitly nested structs. I
> had stumbled upon the new feature from
> https://github.com/dlang/dmd/pull/5518 by accident while
> working on something similar (heterogenous iteration and
> range-like composition, e.g. over struct fields). Will post
> that here later today.
https://github.com/CyberShadow/ae/blob/master/utils/meta/chain.d
More information about the Digitalmars-d
mailing list