Delegate Memory Usage & Optimization

Timon Gehr timon.gehr at gmx.ch
Thu Dec 12 00:10:57 PST 2013


On 12/12/2013 05:16 AM, Manu wrote:
> Don does it to bind static functions to delegates in his C++
> FastDelegate library. I wonder if there's a helper in phobos?
> You can be sure when assigning functions to delegates in this way that
> there will never be any associated state.

std.functional.toDelegate


More information about the Digitalmars-d mailing list