public interface ICPPTemplateInstance extends ICPPSpecialization
isExplicitSpecialization() method is used to distinguish between the two cases.
An instance of a class template will also implement ICPPClassType and similarly a function template
instance will also implement ICPPFunction (or even ICPPMethod or ICPPConstructor as appropriate).| Modifier and Type | Field and Description |
|---|---|
static ICPPTemplateInstance[] |
EMPTY_TEMPLATE_INSTANCE_ARRAY |
EMPTY_BINDING_ARRAY| Modifier and Type | Method and Description |
|---|---|
ICPPTemplateArgument[] |
getTemplateArguments()
Returns the template arguments of this instance.
|
ICPPTemplateDefinition |
getTemplateDefinition()
Returns the template that this instance was instantiated from.
|
boolean |
isExplicitSpecialization()
Explicit specializations are modeled as instances of a template.
|
getSpecializedBinding, getTemplateParameterMapgetQualifiedName, getQualifiedNameCharArray, isGloballyQualifiedgetLinkage, getName, getNameCharArray, getOwner, getScopestatic final ICPPTemplateInstance[] EMPTY_TEMPLATE_INSTANCE_ARRAY
ICPPTemplateDefinition getTemplateDefinition()
ICPPTemplateArgument[] getTemplateArguments()
boolean isExplicitSpecialization()
true if this binding is an explicit specialization.