Click here to Skip to main content
15,913,773 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SHGetFileInfo - how to index of default folder icon Pin
Ian Bowler21-Sep-05 6:36
Ian Bowler21-Sep-05 6:36 
GeneralRe: SHGetFileInfo - how to index of default folder icon Pin
Shog921-Sep-05 6:44
sitebuilderShog921-Sep-05 6:44 
QuestionInstall Project Pin
el_dude21-Sep-05 6:17
sussel_dude21-Sep-05 6:17 
QuestionVisual C++ Problem Pin
Anonymous21-Sep-05 6:09
Anonymous21-Sep-05 6:09 
QuestionThe C++ function to create an instance given a class name. Pin
Member 139789321-Sep-05 5:58
Member 139789321-Sep-05 5:58 
AnswerRe: The C++ function to create an instance given a class name. Pin
Cedric Moonen21-Sep-05 6:08
Cedric Moonen21-Sep-05 6:08 
AnswerRe: The C++ function to create an instance given a class name. Pin
Nemanja Trifunovic21-Sep-05 6:12
Nemanja Trifunovic21-Sep-05 6:12 
AnswerRe: The C++ function to create an instance given a class name. Pin
Chris Losinger21-Sep-05 6:18
professionalChris Losinger21-Sep-05 6:18 
AnswerRe: The C++ function to create an instance given a class name. Pin
Shog921-Sep-05 6:21
sitebuilderShog921-Sep-05 6:21 
QuestionStandard for inlining code Pin
Rob Caldecott21-Sep-05 4:47
Rob Caldecott21-Sep-05 4:47 
AnswerRe: Standard for inlining code Pin
Cedric Moonen21-Sep-05 4:54
Cedric Moonen21-Sep-05 4:54 
GeneralRe: Standard for inlining code Pin
Rob Caldecott21-Sep-05 4:59
Rob Caldecott21-Sep-05 4:59 
AnswerRe: Standard for inlining code Pin
Blake Miller21-Sep-05 5:09
Blake Miller21-Sep-05 5:09 
AnswerRe: Standard for inlining code Pin
Nemanja Trifunovic21-Sep-05 5:15
Nemanja Trifunovic21-Sep-05 5:15 
AnswerRe: Standard for inlining code Pin
Roger Stoltz21-Sep-05 5:56
Roger Stoltz21-Sep-05 5:56 
AnswerRe: Standard for inlining code Pin
David Crow21-Sep-05 7:04
David Crow21-Sep-05 7:04 
GeneralRe: Standard for inlining code Pin
Rob Caldecott21-Sep-05 7:05
Rob Caldecott21-Sep-05 7:05 
GeneralRe: Standard for inlining code Pin
David Crow21-Sep-05 7:18
David Crow21-Sep-05 7:18 
GeneralRe: Standard for inlining code Pin
Nemanja Trifunovic21-Sep-05 7:40
Nemanja Trifunovic21-Sep-05 7:40 
GeneralRe: Standard for inlining code Pin
David Crow22-Sep-05 2:20
David Crow22-Sep-05 2:20 
AnswerRe: Standard for inlining code Pin
User 58385221-Sep-05 20:37
User 58385221-Sep-05 20:37 
GeneralRe: Standard for inlining code Pin
John R. Shaw21-Sep-05 21:01
John R. Shaw21-Sep-05 21:01 
GeneralRe: Standard for inlining code Pin
David Crow22-Sep-05 2:23
David Crow22-Sep-05 2:23 
AnswerRe: Standard for inlining code Pin
John R. Shaw21-Sep-05 21:20
John R. Shaw21-Sep-05 21:20 
Robert Edward Caldecott wrote:
Is there anything inherently wrong with inlining code directly in the class header?

No!

Robert Edward Caldecott wrote:
Are there compiler compatibility or performance reasons for splitting inline code out of the body of the class definition?

No! (well no preformance reasons)

The only reason for splitting the inline code out of the body in this way is so they can change the inline code (file) without touching the class body. In other words they can change the inline code without changing the class definition in the header file.

This is simular to providing a header file for a library which contains the class definition, but not the function bodies. The developer can change how the functions do their jobs and release an update to the library without changing the header files that contains the class deffinitions.


INTP
Every thing is relative...
QuestionInterfacing Pin
benjnp21-Sep-05 4:42
benjnp21-Sep-05 4:42 

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.