File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,15 @@ static assert(!__traits(isDisabled, Bar));
364
364
---
365
365
)
366
366
367
+ $(H3 $(GNAME getVirtualIndex))
368
+
369
+ $(P Takes a single argument which must evaluate to a function.
370
+ The result is a $(CODE ptrdiff_t) containing the index
371
+ of that function within the vtable of the parent type.
372
+ If the function passed in is final and does not override
373
+ a virtual function, $(D -1) is returned instead.
374
+ )
375
+
367
376
$(H3 $(GNAME isVirtualFunction))
368
377
369
378
$(P The same as $(GLINK isVirtualMethod), except
@@ -1475,15 +1484,6 @@ $(H3 $(GNAME classInstanceSize))
1475
1484
polymorphic type.
1476
1485
)
1477
1486
1478
- $(H3 $(GNAME getVirtualIndex))
1479
-
1480
- $(P Takes a single argument which must evaluate to a function.
1481
- The result is a $(CODE ptrdiff_t) containing the index
1482
- of that function within the vtable of the parent type.
1483
- If the function passed in is final and does not override
1484
- a virtual function, $(D -1) is returned instead.
1485
- )
1486
-
1487
1487
$(H3 $(GNAME allMembers))
1488
1488
1489
1489
$(P Takes a single argument, which must evaluate to either
You can’t perform that action at this time.
0 commit comments