On Wed, 8 Jun 2011, Jack Harvard wrote:
When you declare your function private, you can't use instance.function() to
access it. Is it generating a compile time error?
On 8 Jun 2011, at 00:31, Nilay Vaish wrote:
Consider the following class declarations --
virtual void function() = 0;
class B : public A
Will this code compile correctly?
I should say that my example program was not what I intended it to be. The
main function should look like --
B* b = new B();
A* a = b;
Now what would happen?
gem5-dev mailing list