--- Comment #1 from Rob Jacques <> 2011-01-09 08:43:29 PST ---
Note that as listed in Bug 4053, struct constructors and opCall are not
compatible, so the v() syntax isn't possible. In the update to variant I've
been working on, I've added a .call method, which supports functions,
delegates, opCall, etc. Also, multi-argument opCall should be supported:

unittest {
    Variant v;
    int foo(int x, int y) { return x+y; }
    v = &foo;
    assert(v(4,6) == 10);


Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to