even the class of the member function can be templated, see ActOnAllUnitTest.
Note however that specializations of templated member functions are not allowed.