Recompute the injected class name type for a class template specialization
rather than saving and restoring it.