Member predicate Declaration::Declaration::getDeclaringType

Gets the class where this member is declared, if it is a member. For templates, both the template itself and all instantiations of the template are considered to have the same declaring class.

Class getDeclaringType()