[ create a new paste ] login | about

Link: http://codepad.org/cyEDHSGc    [ raw code | fork ]

D, pasted on Jun 19:
import std.algorithm;
import std.array;
import std.stdio;

private alias void delegate(int, int) SlotDelegate;

class A
{
    void DIT(int a, int b)
    {
    }
}

int main(string[] argv)
{
    auto a = new A;
    SlotDelegate x = &a.DIT;

    bool[SlotDelegate] _slotDg;
    _slotDg.remove(x);

    return 0;
}


Create a new paste based on this one


Comments: