[phobos] static opCall for construction

Adam Ruppe destructionator at gmail.com
Sun May 30 06:38:56 PDT 2010


On 5/30/10, Brad Roberts <braddr at puremagic.com> wrote:
> I'm all for removal of static opCall, and possibly opCall altogether.

Removing static opCall is definitely a good plan, but I'd like to keep
opCall. The reason is so you can make a Variant that holds a delegate,
and is callable directly.

I tried implementing this a while ago, but it didn't work very well
because sometimes the compiler would call the static opCall instead of
the one I wanted! Keeping it around, but only for the one task, would
be nice to me.


More information about the phobos mailing list