Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Mohamed Mahmoud (El-Geish)
You wouldn't be here if you didn't know what you are looking for.
This Blog
About
Email
Syndication
RSS 2.0
Atom 1.0
Search
Tags
Algorithms
C++
Cartoon
Development
How To
i18n
Metrics
Security
Source Control
SQL
Testing
VSTF
WCF
News
Disclaimer: All posts are provided "AS IS" with no warranties, confering no rights, and expressing only my personal opinion, not Microsoft's.
Archives
November 2009 (2)
October 2009 (1)
September 2009 (1)
August 2009 (2)
July 2009 (1)
May 2009 (1)
April 2009 (19)
March 2009 (40)
February 2009 (3)
August 2008 (1)
July 2008 (2)
June 2008 (2)
May 2008 (1)
April 2008 (2)
March 2008 (3)
February 2008 (2)
January 2008 (6)
December 2007 (5)
November 2007 (1)
Blogroll
Jason Barile's Blog
Richard Berg's Blog
Brian Harry’s Blog
MSDN Links
MSDN
Windows Live
Windows Live Home
September 2009 - Posts
Saturday, September 05, 2009 12:59 PM
C++: Calling a virtual function from a constructor is not polymorphic
In C++, if you call a virtual function form a constructor, it won’t be polymorphic, meaning that the following code won’t behave as you may have expected: class Foo { public : Foo() {
Posted by
mohamedg
|
1 Comments
Filed under:
Development
,
C++