|
-
March 7th, 2006, 06:22 PM
#1
Polymorphism .. override
When you override a virtual function of a base class .. do you have to call the base class method ? Always ?
I've tested with Visual Studio .. as i type override .. it automatically call the base class virtual function.
Why ???? is it like that ?
I mean ... whatever the implementation of the virtual function of the base class .. that implementation will be called ... but why should i ? I want my own implementation to be used only ....
Thanks,
Last edited by GoDaddy; March 7th, 2006 at 06:32 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|