|
-
September 22nd, 2009, 06:57 AM
#16
Re: Is STL important?
 Originally Posted by nuzzle
That would be completely wrong. Static and dynamic polymorphism has nothing to do with what we're talking about here.
Not at all. In C++, parametric polymorphism is achieved through templates. That's why it's usually called static polymorphism (because it happens in compile-time). Inclusion polymorphism is achieved in C++ through inheritance and virtual mechanisms. That's why it's referred as dynamic polymorphism.
If you happen to be close to books like C++ Templates you might wanna take a look. But if you're not, I found a few links that might be usefull:
- http://en.wikipedia.org/wiki/Polymor...c_Polymorphism
- http://en.wikipedia.org/wiki/C%2B%2B
- http://homepages.feis.herts.ac.uk/~m...fl-node59.html
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
|