Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Ctrl+Double click message Pin
prasad_som21-Jan-07 1:36
prasad_som21-Jan-07 1:36 
AnswerRe: Ctrl+Double click message Pin
prasad_som21-Jan-07 1:32
prasad_som21-Jan-07 1:32 
QuestionASF Writer Directshow Filter Pin
gigo2k620-Jan-07 12:29
gigo2k620-Jan-07 12:29 
QuestionLNK2005 and template class Pin
Nick Alexeev20-Jan-07 12:27
professionalNick Alexeev20-Jan-07 12:27 
AnswerRe: LNK2005 and template class Pin
Michael Dunn20-Jan-07 15:20
sitebuilderMichael Dunn20-Jan-07 15:20 
GeneralRe: LNK2005 and template class Pin
Sceptic Mole21-Jan-07 0:03
Sceptic Mole21-Jan-07 0:03 
QuestionRe: LNK2005 and template class Pin
Nick Alexeev21-Jan-07 19:44
professionalNick Alexeev21-Jan-07 19:44 
AnswerRe: LNK2005 and template class Pin
Michael Dunn21-Jan-07 19:58
sitebuilderMichael Dunn21-Jan-07 19:58 
The need for things to be inline is a downside of templates. The C++ FAQ Lite section on templates[^] goes into more detail. And remember, writing "inline" doesn't always make the actual code inline. While you need "inline" in some situations to satisfy the compiler or linker, the optimizer will determine on its own which methods should actually be inlined.

Nick Alexeev wrote:
Does the inlining has a different effect on a template method compared to a non-template method?

Well, a template function is not code. When you instantiate a template, the compiler generates code from the template, and at that point it's no different from a non-template method. So the end result is the same.


--Mike--
Visual C++ MVP Cool | :cool:
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ");

Ford, what's this fish doing in my ear?

QuestionWhat 's function that use for check control handle Pin
Max++20-Jan-07 7:40
Max++20-Jan-07 7:40 
AnswerRe: What 's function that use for check control handle Pin
CPallini20-Jan-07 10:39
mveCPallini20-Jan-07 10:39 
AnswerRe: What 's function that use for check control handle Pin
Mark Salsbery20-Jan-07 10:39
Mark Salsbery20-Jan-07 10:39 
AnswerRe: What 's function that use for check control handle Pin
prasad_som21-Jan-07 17:07
prasad_som21-Jan-07 17:07 
QuestionWorking on a custom control derived from CTreeCtrl Pin
Chen Ganir20-Jan-07 5:25
Chen Ganir20-Jan-07 5:25 
QuestionI want to write caller Id Application Pin
javad_200520-Jan-07 5:08
javad_200520-Jan-07 5:08 
AnswerRe: I want to write caller Id Application Pin
Blake Miller24-Jan-07 7:35
Blake Miller24-Jan-07 7:35 
QuestionHook Print Dialog in Word Pin
pgibson00770020-Jan-07 4:57
pgibson00770020-Jan-07 4:57 
AnswerRe: Hook Print Dialog in Word Pin
Mark Salsbery20-Jan-07 5:59
Mark Salsbery20-Jan-07 5:59 
AnswerRe: Hook Print Dialog in Word Pin
Michael Dunn20-Jan-07 9:39
sitebuilderMichael Dunn20-Jan-07 9:39 
GeneralRe: Hook Print Dialog in Word Pin
pgibson00770020-Jan-07 9:44
pgibson00770020-Jan-07 9:44 
GeneralRe: Hook Print Dialog in Word Pin
nelsonlam9-Nov-09 15:05
nelsonlam9-Nov-09 15:05 
GeneralRe: Hook Print Dialog in Word Pin
pgibson0077009-Nov-09 21:46
pgibson0077009-Nov-09 21:46 
QuestionHow to create Resource Dll in VC++ Pin
Atul2320-Jan-07 1:34
Atul2320-Jan-07 1:34 
AnswerRe: How to create Resource Dll in VC++ Pin
prasad_som20-Jan-07 3:13
prasad_som20-Jan-07 3:13 
AnswerRe: How to create Resource Dll in VC++ Pin
Mark Salsbery20-Jan-07 6:02
Mark Salsbery20-Jan-07 6:02 
QuestionBitmap Pin
Sangeetha_J20-Jan-07 0:48
Sangeetha_J20-Jan-07 0: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.