CodeQL library for C/C++
codeql/cpp-all 8.0.3 (changelog, source)
Search

Member predicate TemplateTemplateParameter::getAnInstantiation

Gets a class instantiated from this template template parameter.

For example for Container<T> in the following code, the result is Container<Elem>:

template <template <typename T> class Container, class Elem>
void foo(const Container<Elem> &value) { }
Class getAnInstantiation()