M
mangesh
virtual mechanism is activated on pointers only , not on objects .
what is reason beind this .
Regards
Mangesh .
what is reason beind this .
Regards
Mangesh .
virtual mechanism is activated on pointers only , not on objects .
what is reason beind this .
Regards
Mangesh .
mangesh said:virtual mechanism is activated on pointers only , not on objects .
what is reason beind this .
mangesh posted:
Explain yourself in more than the bare minimum amount of words and maybe
people will be more enthusiastic to help you.
Virtual functions retain their "virtualism" regardless of how they're
called. (unless ofcourse you explicitly specify that you don't want
virtualism, e.g.:
Derived derived;
Base &base = derived;
base.Base::Func();
mangesh said:virtual mechanism is activated on pointers only , not on objects .
what is reason beind this .
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.