| 468 | } |
| 469 | |
| 470 | bool is_direct_instance(virtual_ptr instance_ptr) const { |
| 471 | if (!instance_ptr) return false; |
| 472 | auto vp = vtable_ptr(); |
| 473 | return vp ? (vp == get_vtable(instance_ptr)) : (this == get(instance_ptr)); |
| 474 | } |
| 475 | |
| 476 | template<class P> static P get_vmethod_ptr(P selector); |
| 477 |
nothing calls this directly
no test coverage detected