what are Parametric and Inclusion polymorphism in C++
-
31-10-2019 - |
문제
I am reading some C++ text at the address https://cs.senecac.on.ca/~chris.szalwinski/archives/btp200.082/content/adhoc.html.
In the section UNIVERSAL POLYMORPHISM
, the author mentioned about Parametric
and Inclusion
polymorphisms. I am not quite sure that I understand the point, especially why Parametric
polymorphism is implemented at compile time while Inclusion
polymorphism is implemented at run time?
Can anyone give me a clear explanation or an example, please?
올바른 솔루션이 없습니다
제휴하지 않습니다 StackOverflow