reference to 'self' inside a function

Philippe Sigaud philippe.sigaud at gmail.com
Sun Sep 23 21:57:40 PDT 2012


On Sun, Sep 23, 2012 at 11:45 PM, Ben Davis <entheh at cantab.net> wrote:

> Actually I stole the {} from Nick's suggestion. My suggestion was using a
> mixin template instead of a string mixin, making it harder to screw up
> invoking the mixin :)

Ah, OK :) I actually just skimmed the entire thread :) I think self
should be in Phobos, that's something I had to re-implement many
times. And I never thought of using {}.


More information about the Digitalmars-d mailing list