Is there a non-hacky (i.e. no assembly, ...) way to use boost functions to create callbacks with non-static class methods?
Currently for static methods:
list<function<void (LuaState&)> > _callbacks;
I was thinking something along the lines of
list<tuple<function<void (void *, LuaState&)>, void*> _callbacks;
but boost functions doesn't like those void*
s.