AFAIK (and the standards experts can correct me), you cannot specialize a templated function of a class template without specializing the class itself…
i.e. the following I think will work:
template <> template <> int X<Y>::getAThing<int>(std::string param) {
return getIntThing(param); // Some function that crunches on param and returns an int.
}