@MarekR I'm making a macro that does something like this:
FOO(A::B::, c)
-> static_cast<R (A::B::*)(...)>(&A::B::c)
, which is ultimately needed for generating pybind11 bindings.