Click here to Skip to main content
16,013,747 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionClass member inlining...??? Pin
alex.barylski4-Feb-02 21:15
alex.barylski4-Feb-02 21:15 
AnswerRe: Class member inlining...??? Pin
Joaquín M López Muñoz4-Feb-02 21:31
Joaquín M López Muñoz4-Feb-02 21:31 
GeneralRe: Class member inlining...??? Pin
alex.barylski4-Feb-02 21:45
alex.barylski4-Feb-02 21:45 
AnswerRe: Class member inlining...??? Pin
Rickard Andersson204-Feb-02 23:07
Rickard Andersson204-Feb-02 23:07 
GeneralRe: Class member inlining...??? Pin
Christian Graus4-Feb-02 23:26
protectorChristian Graus4-Feb-02 23:26 
GeneralRe: Class member inlining...??? Pin
alex.barylski4-Feb-02 23:51
alex.barylski4-Feb-02 23:51 
AnswerRe: Class member inlining...??? Pin
5-Feb-02 5:44
suss5-Feb-02 5:44 
AnswerRe: Class member inlining...??? Pin
Andreas Saurwein5-Feb-02 6:07
Andreas Saurwein5-Feb-02 6:07 
As Jimi and Joaquín M López Muñoz say: you can do nothing except declare them correctly and let the compiler do its job according to your wishes (read /options).

Besides of this you should ask yourself another question: if the compiler thinks that a function may be inlined, why you think it should not?

Dont tell me that the function may be too big. The argument "the resulting code will be too big" is nonsense nowadays. Applications can expect "sufficient" memory to run almost any code.

So? What is left? Speed? If it gets called so many times, the compiler is right - it preserves lot of overhead for the function call and execution.

Anything else that I missed?
GeneralRe: Class member inlining...??? Pin
alex.barylski5-Feb-02 10:58
alex.barylski5-Feb-02 10:58 
AnswerRe: Class member inlining...??? Pin
Nemanja Trifunovic5-Feb-02 6:22
Nemanja Trifunovic5-Feb-02 6:22 
GeneralRe: Class member inlining...??? Pin
alex.barylski5-Feb-02 9:57
alex.barylski5-Feb-02 9:57 
GeneralHeap try/catch technique Pin
alex.barylski4-Feb-02 21:09
alex.barylski4-Feb-02 21:09 
GeneralRe: Heap try/catch technique Pin
Joaquín M López Muñoz4-Feb-02 21:36
Joaquín M López Muñoz4-Feb-02 21:36 
GeneralRe: Heap try/catch technique Pin
alex.barylski4-Feb-02 21:40
alex.barylski4-Feb-02 21:40 
GeneralRe: Heap try/catch technique Pin
Joaquín M López Muñoz4-Feb-02 22:01
Joaquín M López Muñoz4-Feb-02 22:01 
GeneralA problem with "find" operations in an application with CHtmlView Pin
AVR4-Feb-02 20:53
AVR4-Feb-02 20:53 
Generalwhen the owner window of caret is inactive Pin
AnonymousBabe@usa.net4-Feb-02 20:21
AnonymousBabe@usa.net4-Feb-02 20:21 
GeneralRe: when the owner window of caret is inactive Pin
alex.barylski4-Feb-02 20:45
alex.barylski4-Feb-02 20:45 
GeneralRe: when the owner window of caret is inactive Pin
AnonymousBabe@usa.net5-Feb-02 13:57
AnonymousBabe@usa.net5-Feb-02 13:57 
GeneralRe: when the owner window of caret is inactive Pin
alex.barylski5-Feb-02 14:26
alex.barylski5-Feb-02 14:26 
GeneralRe: when the owner window of caret is inactive Pin
AnonymousBabe@usa.net5-Feb-02 15:59
AnonymousBabe@usa.net5-Feb-02 15:59 
GeneralRe: when the owner window of caret is inactive Pin
alex.barylski5-Feb-02 16:39
alex.barylski5-Feb-02 16:39 
GeneralRe: when the owner window of caret is inactive Pin
AnonymousBabe@usa.net5-Feb-02 17:20
AnonymousBabe@usa.net5-Feb-02 17:20 
GeneralRe: when the owner window of caret is inactive Pin
alex.barylski5-Feb-02 17:49
alex.barylski5-Feb-02 17:49 
GeneralCD Writer Pin
4-Feb-02 20:07
suss4-Feb-02 20:07 

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.