<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 30/07/15 15:05, Sven Barth wrote:<br>
</div>
<blockquote
cite="mid:CAFMUeB8zMf0moSJ2X1-kJFUvX0aPNyA5v0mgv5FX=RyM0SD-qA@mail.gmail.com"
type="cite">
<p>Am 30.07.2015 19:00 schrieb "Joao Morais" <<a
moz-do-not-send="true" href="mailto:l@joaomorais.com.br">l@joaomorais.com.br</a>>:<br>
><br>
> tbar2 inherits from tbar1 and 'go' is a virtual method.
v1.go calls the tbar2 implementation as expected but tm(m1)()
does call tbar1.go. As expected. Is there a nice and safe way to
use v1 instance's VMT in order to call the inherited method? In
the real scenario I will have only the pointer of the virtual
method and the instance, respectively @tbar1.go and v1, and no
reference to @tbar2.go<br>
><br>
But if you have @tbar1.go and v1 you already have everything you
need or do I misunderstand your plan somehow?</p>
</blockquote>
<br>
@tbar1.go is an abstract implementation. I don't have @tbar2.go. I
only have tbar2 as the classtype of the instance referenced by v1.<br>
<br>
<br>
</body>
</html>