Click here to Skip to main content
15,917,565 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: pointer var Pin
macmac388-Sep-03 0:41
macmac388-Sep-03 0:41 
GeneralRe: pointer var Pin
jhwurmbach8-Sep-03 1:23
jhwurmbach8-Sep-03 1:23 
GeneralGUI database query Pin
coda_x8-Sep-03 0:08
coda_x8-Sep-03 0:08 
GeneralRe: GUI database query Pin
David Crow8-Sep-03 3:35
David Crow8-Sep-03 3:35 
GeneralCHttpView - Viewing and modifing post header Pin
Brian Delahunty8-Sep-03 0:07
Brian Delahunty8-Sep-03 0:07 
GeneralSpeed of Templates vs. Non-Templates Pin
RichardS7-Sep-03 23:44
RichardS7-Sep-03 23:44 
GeneralRe: Speed of Templates vs. Non-Templates Pin
Andrew Walker8-Sep-03 0:24
Andrew Walker8-Sep-03 0:24 
GeneralRe: Speed of Templates vs. Non-Templates Pin
RichardS8-Sep-03 1:37
RichardS8-Sep-03 1:37 
Thank-you for your response.

Andrew Walker wrote:
1/ slower build times
2/ code bloat


If these are the main 2 time factors templates seem quite good.

For templates I generally use Explicit Instantiation of the template class which seems to aid in the compile and link times (although for big projects this leads to handling a large number of template instaniations).

Andrew Walker wrote:
Portability (as in operating system portability) is more generally supported by the use of the preprocessor, but it should be possible to use template specialisations to do the same thing - but I don't know if it would be worth the effort.

Oops, I was more thinking along the lines of reuse. We do work in embedded controllers in which each platform has different hardware, so code is ported and reused on each platform. Thus template's would allow us to extend products with out hampering previous released platforms.

You seem to speak quite an indepth knowledge of the boost library. Is it good for speed?

Rich

"Programming today is a race between software engineers striving to build bigger and better idiot-proff programs, and the Universe trying to produce bigger and better idiots. So far the Universe is winning." -- Rich Cook
GeneralRe: Speed of Templates vs. Non-Templates Pin
antlers9-Sep-03 9:40
antlers9-Sep-03 9:40 
QuestionCan not find class Pin
wow99997-Sep-03 21:49
wow99997-Sep-03 21:49 
AnswerRe: Can not find class Pin
jhwurmbach8-Sep-03 1:27
jhwurmbach8-Sep-03 1:27 
AnswerRe: Can not find class Pin
David Crow8-Sep-03 3:39
David Crow8-Sep-03 3:39 
AnswerRe: Can not find class Pin
imsniper8-Sep-03 3:50
imsniper8-Sep-03 3:50 
QuestionSQL Connect error???? Pin
xxhimanshu7-Sep-03 20:05
xxhimanshu7-Sep-03 20:05 
AnswerRe: SQL Connect error???? Pin
David Crow8-Sep-03 3:42
David Crow8-Sep-03 3:42 
GeneralRe: SQL Connect error???? Pin
xxhimanshu8-Sep-03 17:58
xxhimanshu8-Sep-03 17:58 
GeneralRe: SQL Connect error???? Pin
David Crow9-Sep-03 2:12
David Crow9-Sep-03 2:12 
GeneralRe: SQL Connect error???? Pin
xxhimanshu10-Sep-03 22:14
xxhimanshu10-Sep-03 22:14 
GeneralProblem with code Pin
Ricky Koh7-Sep-03 19:19
Ricky Koh7-Sep-03 19:19 
GeneralRe: Problem with code Pin
Michael Dunn7-Sep-03 20:01
sitebuilderMichael Dunn7-Sep-03 20:01 
GeneralRe: Problem with code Pin
Ricky Koh7-Sep-03 20:22
Ricky Koh7-Sep-03 20:22 
GeneralRe: Problem with code Pin
David Crow8-Sep-03 3:44
David Crow8-Sep-03 3:44 
GeneralRe: Problem with code Pin
Ricky Koh8-Sep-03 5:05
Ricky Koh8-Sep-03 5:05 
GeneralRe: Problem with code Pin
David Crow8-Sep-03 5:40
David Crow8-Sep-03 5:40 
GeneralRe: Problem with code Pin
Ricky Koh8-Sep-03 16:48
Ricky Koh8-Sep-03 16:48 

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.