I have a struct like this:
struct A { void i(int i) {} void s(string const &s) {} };
Now when I try this:
bind
Look at this post were the requirements of template parameters are explained. As you already assumed the reference to the std::string is the problem. It's not a valid template parameter.