Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: about virtual function's return type Pin
bobi_zcl5-Feb-06 15:46
bobi_zcl5-Feb-06 15:46 
QuestionReport Generator control suggestion Pin
ddmcr23-Jan-06 23:31
ddmcr23-Jan-06 23:31 
QuestionStatic Text control's ToolTip On ComboBox item? Pin
rajan.msmy23-Jan-06 22:53
rajan.msmy23-Jan-06 22:53 
QuestionWhat do virtual inline function mean? Pin
vikas amin23-Jan-06 22:51
vikas amin23-Jan-06 22:51 
AnswerRe: What do virtual inline function mean? Pin
toxcct23-Jan-06 22:56
toxcct23-Jan-06 22:56 
GeneralRe: What do virtual inline function mean? Pin
Taka Muraoka23-Jan-06 23:34
Taka Muraoka23-Jan-06 23:34 
GeneralRe: What do virtual inline function mean? Pin
Prakash Nadar24-Jan-06 0:42
Prakash Nadar24-Jan-06 0:42 
GeneralRe: What do virtual inline function mean? Pin
Nemanja Trifunovic24-Jan-06 4:01
Nemanja Trifunovic24-Jan-06 4:01 
Taka Muraoka wrote:
Virtual functions let an object decide at runtime which particular implementation of a method should be invoked. If you have a pointer to the base object and call a virtual method, there is no way to know at compile time what type of object will be present at the actual time of the call. Hence, the compiler won't be able to figure out which implementation of the function to compile inline


This is of course, correct. However, if you use an object of the class in a non-polymorphic manner (say, create it on the stack), the compiler can figure out which object is used and inline the function.

Therefore, "virtual inline" actually makes sense, and will not be ignored Wink | ;)



My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.
QuestionDecryption Routine needed. Pin
Priya..k23-Jan-06 22:44
Priya..k23-Jan-06 22:44 
AnswerRe: Decryption Routine needed. Pin
Prakash Nadar24-Jan-06 0:43
Prakash Nadar24-Jan-06 0:43 
GeneralRe: Decryption Routine needed. Pin
Priya..k24-Jan-06 0:51
Priya..k24-Jan-06 0:51 
GeneralRe: Decryption Routine needed. Pin
Prakash Nadar24-Jan-06 1:05
Prakash Nadar24-Jan-06 1:05 
GeneralRe: Decryption Routine needed. Pin
Priya..k24-Jan-06 1:17
Priya..k24-Jan-06 1:17 
GeneralRe: Decryption Routine needed. Pin
Prakash Nadar24-Jan-06 18:13
Prakash Nadar24-Jan-06 18:13 
GeneralRe: Decryption Routine needed. Pin
Priya..k24-Jan-06 22:21
Priya..k24-Jan-06 22:21 
GeneralRe: Decryption Routine needed. Pin
Prakash Nadar24-Jan-06 22:24
Prakash Nadar24-Jan-06 22:24 
GeneralRe: Decryption Routine needed. Pin
Priya..k24-Jan-06 22:41
Priya..k24-Jan-06 22:41 
GeneralRe: Decryption Routine needed. Pin
Prakash Nadar24-Jan-06 22:44
Prakash Nadar24-Jan-06 22:44 
QuestionDownloading in VC++ Pin
Vineethg23-Jan-06 22:14
Vineethg23-Jan-06 22:14 
AnswerRe: Downloading in VC++ Pin
Prakash Nadar24-Jan-06 0:46
Prakash Nadar24-Jan-06 0:46 
AnswerRe: Downloading in VC++ Pin
Aamir Butt24-Jan-06 1:33
Aamir Butt24-Jan-06 1:33 
AnswerRe: Downloading in VC++ Pin
Member 22716551-Feb-06 21:57
Member 22716551-Feb-06 21:57 
QuestionReading Strings Line by Line from Text Files Pin
Anu_Bala23-Jan-06 22:13
Anu_Bala23-Jan-06 22:13 
AnswerRe: Reading Strings Line by Line from Text Files Pin
Cedric Moonen23-Jan-06 22:22
Cedric Moonen23-Jan-06 22:22 
GeneralRe: Reading Strings Line by Line from Text Files Pin
Anu_Bala24-Jan-06 0:03
Anu_Bala24-Jan-06 0:03 

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.