Click here to Skip to main content
15,791,229 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing a pointer to object - using template - followup. Pin
Gerry Schmitz13-Feb-23 7:43
mveGerry Schmitz13-Feb-23 7:43 
GeneralRe: Passing a pointer to object - using template - followup. Pin
jschell14-Feb-23 5:44
jschell14-Feb-23 5:44 
GeneralRe: Passing a pointer to object - using template - followup. Pin
jschell14-Feb-23 5:47
jschell14-Feb-23 5:47 
AnswerRe: Passing a pointer to object - using template - followup. Pin
Jeremy Falcon13-Feb-23 13:43
professionalJeremy Falcon13-Feb-23 13:43 
GeneralMessage Closed Pin
14-Feb-23 5:24
Member 1496877114-Feb-23 5:24 
GeneralRe: Passing a pointer to object - using template - followup. Pin
Jeremy Falcon14-Feb-23 6:34
professionalJeremy Falcon14-Feb-23 6:34 
Questionxxx_GetProcessIndexFromID error... Pin
charlieg10-Feb-23 12:46
charlieg10-Feb-23 12:46 
Questionis it okeedokee to include defining headers hither and yon all over the place Pin
BernardIE53179-Feb-23 7:28
BernardIE53179-Feb-23 7:28 
i've been working w/ C++ includes lately . whilst examining those utilized in llvm i examined several h header files and found they are not templated and are not merely a declaration but a definition containing code and to my surprise are included in several cpp source files . closer examination revealed they define classes only which i suppose is okeedokee to include in multiple cpp files however does this not result in code bloat as each source must now generate the binary for each class's implementation . in my own work i insist placing the implementation of any non-templated class in it's own cpp source file and let the linker sort it out. i assumed this was sine qua non . is there something i do not understand as the writers of llvm are of course much more knowledgeable/experienced/clever/intelligent than myself . thank you kindly
AnswerRe: is it okeedokee to include defining headers hither and yon all over the place Pin
Mircea Neacsu9-Feb-23 8:08
Mircea Neacsu9-Feb-23 8:08 
GeneralRe: is it okeedokee to include defining headers hither and yon all over the place Pin
BernardIE53179-Feb-23 8:46
BernardIE53179-Feb-23 8:46 
GeneralRe: is it okeedokee to include defining headers hither and yon all over the place Pin
Mircea Neacsu9-Feb-23 9:06
Mircea Neacsu9-Feb-23 9:06 
GeneralRe: is it okeedokee to include defining headers hither and yon all over the place Pin
BernardIE53179-Feb-23 9:46
BernardIE53179-Feb-23 9:46 
AnswerRe: is it okeedokee to include defining headers hither and yon all over the place Pin
jschell9-Feb-23 10:34
jschell9-Feb-23 10:34 
QuestionCompilers Pin
Calin Negru2-Feb-23 10:24
Calin Negru2-Feb-23 10:24 
AnswerRe: Compilers Pin
Mircea Neacsu2-Feb-23 10:56
Mircea Neacsu2-Feb-23 10:56 
AnswerRe: Compilers Pin
Dave Kreskowiak2-Feb-23 11:08
mveDave Kreskowiak2-Feb-23 11:08 
GeneralRe: Compilers Pin
trønderen2-Feb-23 13:41
trønderen2-Feb-23 13:41 
GeneralRe: Compilers Pin
Dave Kreskowiak2-Feb-23 13:43
mveDave Kreskowiak2-Feb-23 13:43 
GeneralRe: Compilers Pin
jschell3-Feb-23 6:17
jschell3-Feb-23 6:17 
GeneralRe: Compilers Pin
Calin Negru2-Feb-23 22:29
Calin Negru2-Feb-23 22:29 
GeneralRe: Compilers Pin
Dave Kreskowiak3-Feb-23 12:32
mveDave Kreskowiak3-Feb-23 12:32 
GeneralRe: Compilers Pin
trønderen3-Feb-23 13:40
trønderen3-Feb-23 13:40 
AnswerRe: Compilers Pin
trønderen2-Feb-23 14:54
trønderen2-Feb-23 14:54 
GeneralRe: Compilers Pin
Calin Negru2-Feb-23 23:27
Calin Negru2-Feb-23 23:27 
GeneralRe: Compilers Pin
Richard MacCutchan3-Feb-23 0:16
mveRichard MacCutchan3-Feb-23 0:16 

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.