Does a c++ compiler use late or early binding for
member calls of the last class in a hierachy when
invoked through a pointer of this classes type?
Thanks,
marc
class A
{
public:
virtual void a() {}
}
class B: public A
{
public:
void a() {}
}
int main()
{
B* b = new B();
b->a();
return 0;
}