org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPSpecialization
- All Superinterfaces:
- IBinding, ICPPBinding
- All Known Subinterfaces:
- ICPPDeferredTemplateInstance, ICPPTemplateInstance
- public interface ICPPSpecialization
- extends ICPPBinding
For an instantiation of a class template, the members of that instantiation will be
specializations of the members of the original class template.
For an instantiation of a function template, the parameters will be specializations
of the parameters of the original function template.
Specializations can also be explicitly defined
getSpecializedBinding
public IBinding getSpecializedBinding()
- Return the binding that this specialization specializes.
- Returns:
- the original binding that this is a specialization of
getArgumentMap
public org.eclipse.cdt.core.parser.util.ObjectMap getArgumentMap()
- Returns the argument map for this specialization. For partial specializations, only
those arguments which have been specialized will appear.
- Returns:
- a map which maps from template parameter to the corresponding
template argument
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.