Connecting Tech Pros Worldwide Forums | Help | Site Map

What are polymorphic classes

parag
Guest
 
Posts: n/a
#1: Jan 16 '08
I kind of came across this term while studying something related to
dynamic_cast,
can somebody shed some light on the same
Michael DOUBEZ
Guest
 
Posts: n/a
#2: Jan 16 '08

re: What are polymorphic classes


parag a écrit :
Quote:
I kind of came across this term while studying something related to
dynamic_cast,
can somebody shed some light on the same
Polymorphic means that manipulating a class A, you are in fact acting on
a class B that derives from A.
See FAQ:
http://www.parashift.com/c++-faq-lit....html#faq-20.2


Michael
James Kanze
Guest
 
Posts: n/a
#3: Jan 16 '08

re: What are polymorphic classes


On Jan 16, 1:06 pm, parag <parag.p...@gmail.comwrote:
Quote:
I kind of came across this term while studying something
related to dynamic_cast, can somebody shed some light on the
same
Technically (and in association with dynamic_cast), a
polymorphic class is one which has one or more virtual
functions.

--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
Closed Thread