#include "stdafx.h"
#include
class Base{
public:
void foo(){
std::cout<<"in base"<
}
};
class Impl:public Base{
public:
void foo(){
std::cout<<"in Impl"<
}
};
void main(void)
{
Impl a;
a.Base::foo();
}
(post by shinyr.com)