I hereby claim:
- I am mannewalis on github.
- I am jgraham (https://keybase.io/jgraham) on keybase.
- I have a public key whose fingerprint is 439F DB8D ED28 F206 BC8A 126E 5119 FA05 00AE 3919
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class dispatch | |
{ | |
public: | |
void register(void* instance, std::function& callback) | |
{ | |
auto id = hash(instance, callback.target()); | |
map[id] = callback; | |
} |