cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Lounge
What's the name of that property...?
What's the name of that property...?
Oct 28, 2014 at 1:40pm UTC
helios
(17575)
...where if B is-an A, then List<B> is-a List<A>?
Oct 28, 2014 at 1:48pm UTC
S G H
(2638)
If List is something like std::list ... Is it a typedef? No idea.
Oct 28, 2014 at 3:32pm UTC
helios
(17575)
No, in terms of generic OOP concepts, not applied to any particular language.
Oct 28, 2014 at 4:03pm UTC
booradley60
(896)
Maybe?
http://en.wikipedia.org/wiki/Covariance_and_contravariance_%28computer_science%29
Oct 28, 2014 at 4:07pm UTC
helios
(17575)
Covariance, that's the one. Thanks.
Topic archived. No new replies allowed.