You should have left up the post so that anyone else who has this problem can find your posting. To be honest, I failed to see the problem the first time I read it.
It is common when invoking bind to list the this parameter as the first argument after the member function pointer. ListenerList<>::call does not require this parameter (it fills it in for you) but its an easy mistake to make.
Actually the this pointer is not needed because ListenerList<>::call fills it in for you. Even if the methods had parameters, the this pointer would be erroneous.
[quote]Undefined symbols for architecture i386:
“typeinfo for SliceManager::Listener”, referenced from:
typeinfo for SliceEditor in SliceEditor.o
"vtable for SliceManager::Listener", referenced from:
SliceManager::Listener::Listener() in SliceEditor.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)[/quote]
Anyone familiar with this? Virtual member functions should have no definition anyways right?