To extract the typename C from TMethod (where TMethod is convertible to a type B), you can use C++11's template metaprogramming features to inspect and extract the type C