Overriding overrided function
<p>here's what I am trying to do</p>

<pre><code>class A
{
    virtual void foo();
}

class B : A
{
    virtual override void foo();
}

class C : B
{
    override void foo();
}
</code></pre>

<p>so what I want to see when calling C.foo() is
A.foo(), B.foo(), C.foo()</p>

<p>but I dont think virtual override can be used in the same function definition. How would I go around this?</p>

<p>Thanks
-Mike</p>
