Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Why virtual constructor is not possible in c++
Posted
Updated 9-Mar-11 22:14pm
v2

this[^] might give you an idea.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 8-Mar-11 2:07am    
I must say the answer in the reference is written very poorly and does not provide real explanation. First of all, virtual constructors are available and important in some languages, so this is C++ ideology of classes, not absolutely universal, but the answer pretends the reasoning is universal, it does not address C++ specific. Hence, it is, strictly speaking, incorrect.
(I did not vote.)
--SA
Hey you should read my question

link

all links provided about virual link
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900