Click here to Skip to main content
15,794,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: why no virtual constructor? Pin
Stefan_Lang16-Jul-12 23:08
Stefan_Lang16-Jul-12 23:08 
AnswerRe: why no virtual constructor? Pin
Chris Losinger16-Jul-12 8:02
professionalChris Losinger16-Jul-12 8:02 
AnswerRe: why no virtual constructor? Pin
David Crow16-Jul-12 8:06
David Crow16-Jul-12 8:06 
GeneralRe: why no virtual constructor? Pin
jschell16-Jul-12 11:49
jschell16-Jul-12 11:49 
AnswerRe: why no virtual constructor? Pin
Mattias Högström16-Jul-12 12:34
Mattias Högström16-Jul-12 12:34 
GeneralRe: why no virtual constructor? Pin
Stefan_Lang16-Jul-12 23:29
Stefan_Lang16-Jul-12 23:29 
GeneralRe: why no virtual constructor? Pin
Mattias Högström17-Jul-12 1:38
Mattias Högström17-Jul-12 1:38 
GeneralRe: why no virtual constructor? Pin
Stefan_Lang17-Jul-12 3:00
Stefan_Lang17-Jul-12 3:00 
Mattias Högström wrote:
You were asking on the other hand asking:

What would a virtual constructor create?

But what is actually common is to have virtual methods that create subclass objects.

That is not a valid answer to my question. There is in fact no valid answer. And that is the point of the question!

Of course using factories or similar is a reasonable solution in such a situation - but that was not my question, nor the OPs'.
GeneralRe: why no virtual constructor? Pin
Mattias Högström17-Jul-12 11:07
Mattias Högström17-Jul-12 11:07 
JokeRe: why no virtual constructor? Pin
Albert Holguin17-Jul-12 13:19
professionalAlbert Holguin17-Jul-12 13:19 
GeneralRe: why no virtual constructor? Pin
jschell20-Jul-12 7:52
jschell20-Jul-12 7:52 
GeneralRe: why no virtual constructor? Pin
Mattias Högström20-Jul-12 8:33
Mattias Högström20-Jul-12 8:33 
GeneralRe: why no virtual constructor? Pin
jschell21-Jul-12 12:33
jschell21-Jul-12 12:33 
GeneralRe: why no virtual constructor? Pin
Mattias Högström21-Jul-12 14:54
Mattias Högström21-Jul-12 14:54 
GeneralRe: why no virtual constructor? Pin
Eugen Podsypalnikov17-Jul-12 0:59
Eugen Podsypalnikov17-Jul-12 0:59 
QuestionHow to add app icon in full color? Pin
includeh1014-Jul-12 16:22
includeh1014-Jul-12 16:22 
AnswerRe: How to add app icon in full color? Pin
«_Superman_»14-Jul-12 18:58
professional«_Superman_»14-Jul-12 18:58 
QuestionMFC CListCtrl FindItem is not working Pin
D.Manivelan14-Jul-12 0:45
D.Manivelan14-Jul-12 0:45 
AnswerRe: MFC CListCtrl FindItem is not working Pin
_Flaviu14-Jul-12 1:06
_Flaviu14-Jul-12 1:06 
GeneralRe: MFC CListCtrl FindItem is not working Pin
D.Manivelan14-Jul-12 2:14
D.Manivelan14-Jul-12 2:14 
GeneralRe: MFC CListCtrl FindItem is not working Pin
_Flaviu14-Jul-12 2:20
_Flaviu14-Jul-12 2:20 
GeneralRe: MFC CListCtrl FindItem is not working Pin
Rolf Kristensen14-Jul-12 22:41
Rolf Kristensen14-Jul-12 22:41 
AnswerRe: MFC CListCtrl FindItem is not working Pin
Richard MacCutchan14-Jul-12 1:17
mveRichard MacCutchan14-Jul-12 1:17 
Question'fopen_s' and 'fscanf_s' Pin
mrby12313-Jul-12 11:38
mrby12313-Jul-12 11:38 
AnswerRe: 'fopen_s' and 'fscanf_s' Pin
Wes Aday13-Jul-12 11:45
professionalWes Aday13-Jul-12 11:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.