FuncDeclaration.findVtblIndex

Find index of function in vtbl[0..dim] that this function overrides. Prefer an exact match to a covariant one.

class FuncDeclaration
final
int
findVtblIndex
(
Dsymbols* vtbl
,
int dim
,
bool fix17349 = true
)

Parameters

vtbl
Type: Dsymbols*

vtable to use

dim
Type: int

maximal vtable dimension

fix17349
Type: bool

Return Value

Type: int

-1 didn't find one -2 can't determine because of forward references

Meta