Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: C++
Expertise: All
Jan 7, 2000

Calling a Virtual Member Function From a Constructor

When you call a virtual member function from a class's constructor, the actual function that gets called is the one defined in the object whose constructor is executing. Virtual member functions of an object derived from the one whose constructor is executing

Danny Kalev
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap