On 2012-03-20 10:49, F i L wrote:
That's pretty slick. D would need delegate inlining + @forceInline before foreach could be expressed this way though.
Yes, but currently, as far as I know, the delegate passed to opApply is not inlined.
-- /Jacob Carlborg