Karthikeyan M wrote:
> Very true Thomas. But I'm afraid, what you are talking about is not
> runtime polymorphism !!
> 
> What you are talking is overloading right? Please correct me if I'm
> wrong.

Overloading is what you initially described.  What I described is 
polymorphism:

http://www.parashift.com/c++-faq-lite/virtual-functions.html#faq-20.2

See:  We're getting into arguments over what polymorphism is and is not. 
  This is why I hate the term.  If someone means Base Classes, then say 
Base Classes.  If someone means overloading, say overloading.  Don't use 
some meaningless term everyone quibbles over the meaning of.

Now that you have been properly corrected by the C++ FAQ (I have yet to 
see it be wrong), let's end this discussion.

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* VerifyMyPC 2.3
Change tracking and management tool.
Reduce tech. support times from 2 hours to 5 minutes.

Free for personal use, $10 otherwise.
http://www.CubicleSoft.com/VerifyMyPC/

Reply via email to