If I have an overloaded non-static member function, how can I use auto to declare a pointer for one version of that function?
struct Foo{
void bar(){}
void bar(int){}
};
auto ptr = &Foo::bar; // error: unable to deduce 'auto' from '&Foo::bar'