What are polymorphic classes



 DEVELOP > c-Plus-Plus > What are polymorphic classes

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1

1

 
Topic: DEVELOP > c-Plus-Plus
User: "parag"
Date: 16 Jan 2008 06:06:30 AM
Object: What are polymorphic classes
I kind of came across this term while studying something related to
dynamic_cast,
can somebody shed some light on the same
.

User: "James Kanze"

Title: Re: What are polymorphic classes 16 Jan 2008 01:57:16 PM
On Jan 16, 1:06 pm, parag <parag.p...@gmail.com> wrote:

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=E9e objet/
Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34
.

User: "Michael DOUBEZ"

Title: Re: What are polymorphic classes 16 Jan 2008 06:46:50 AM
parag a écrit :

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-lite/virtual-functions.html#faq-20.2
Michael
.


  Page 1 of 1

1

 


Related Articles
 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER