CodeQL library for C/C++
Search

Member predicate ClassDerivation::getIndex

Gets the index of the derivation in the derivation list for the derived class/struct (indexed from 0). For example, the index of the derivation of B2 in the following code would be 1:

struct D : B1, B2 {
  ...
};
int getIndex()