Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for C/C++
codeql/cpp-all 4.3.1 (changelog, source)

Member predicate TemplateClass::getAnInstantiation

Gets a class instantiated from this template.

For example for MyTemplateClass<T> in the following code, the results are MyTemplateClass<int> and MyTemplateClass<long>:

template<class T>
class MyTemplateClass {
  ...
};

MyTemplateClass<int> instance;

MyTemplateClass<long> instance;
Class getAnInstantiation()