Click here to Skip to main content
15,920,633 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: can one switch off the implicit inline rule? Pin
Roger Stoltz14-Oct-08 4:59
Roger Stoltz14-Oct-08 4:59 
GeneralRe: can one switch off the implicit inline rule? Pin
WernerP14-Oct-08 5:14
WernerP14-Oct-08 5:14 
GeneralRe: can one switch off the implicit inline rule? [modified] Pin
Rajesh R Subramanian14-Oct-08 5:16
professionalRajesh R Subramanian14-Oct-08 5:16 
GeneralRe: can one switch off the implicit inline rule? Pin
WernerP14-Oct-08 6:02
WernerP14-Oct-08 6:02 
GeneralRe: can one switch off the implicit inline rule? Pin
Rajesh R Subramanian14-Oct-08 21:01
professionalRajesh R Subramanian14-Oct-08 21:01 
AnswerRe: can one switch off the implicit inline rule? Pin
toxcct14-Oct-08 3:35
toxcct14-Oct-08 3:35 
GeneralRe: can one switch off the implicit inline rule? Pin
CPallini14-Oct-08 3:39
mveCPallini14-Oct-08 3:39 
GeneralRe: can one switch off the implicit inline rule? Pin
WernerP14-Oct-08 4:05
WernerP14-Oct-08 4:05 
Hi,

Because dividing class function declaration from definition does make sense, if the interface is to be seen by other modules. If the interface is just for the imlementation namespace of a certain module, I would not even put it into a header.

Why? Because I don't want to recompile other modules, if the private interface changes. And because splitting declaration from definition means more administration of code and higher cost. It's overhead, if I don't want to export the functions it declares to others.

This I think is a common concern of software engineering, and does not have to do with loving either one programming language or the other. Look, C++ has been called a multiparadigmatic language by it's founder. It should make us free to implement whatever pattern makes sense to us.

Werner
GeneralRe: can one switch off the implicit inline rule? Pin
David Crow14-Oct-08 4:23
David Crow14-Oct-08 4:23 
GeneralRe: can one switch off the implicit inline rule? Pin
Roger Stoltz14-Oct-08 4:35
Roger Stoltz14-Oct-08 4:35 
GeneralRe: can one switch off the implicit inline rule? Pin
WernerP14-Oct-08 4:46
WernerP14-Oct-08 4:46 
QuestionFolderDialog open folder/file [modified] Pin
NewVC++14-Oct-08 0:53
NewVC++14-Oct-08 0:53 
AnswerRe: FolderDialog open folder/file Pin
Rajesh R Subramanian14-Oct-08 0:55
professionalRajesh R Subramanian14-Oct-08 0:55 
GeneralRe: FolderDialog open folder/file Pin
NewVC++14-Oct-08 1:11
NewVC++14-Oct-08 1:11 
GeneralRe: FolderDialog open folder/file Pin
Rajesh R Subramanian14-Oct-08 1:16
professionalRajesh R Subramanian14-Oct-08 1:16 
GeneralRe: FolderDialog open folder/file Pin
NewVC++14-Oct-08 1:23
NewVC++14-Oct-08 1:23 
GeneralRe: FolderDialog open folder/file Pin
Rajesh R Subramanian14-Oct-08 1:37
professionalRajesh R Subramanian14-Oct-08 1:37 
GeneralRe: FolderDialog open folder/file Pin
NewVC++14-Oct-08 2:52
NewVC++14-Oct-08 2:52 
GeneralRe: FolderDialog open folder/file Pin
Rajesh R Subramanian14-Oct-08 2:54
professionalRajesh R Subramanian14-Oct-08 2:54 
GeneralRe: FolderDialog open folder/file Pin
NewVC++14-Oct-08 19:00
NewVC++14-Oct-08 19:00 
GeneralRe: FolderDialog open folder/file Pin
David Crow14-Oct-08 3:12
David Crow14-Oct-08 3:12 
QuestionMFC - Setting the custom color for the text selection in CRichEditCtrl Pin
Prasanth M V14-Oct-08 0:30
Prasanth M V14-Oct-08 0:30 
AnswerRe: MFC - Setting the custom color for the text selection in CRichEditCtrl Pin
Mark Salsbery14-Oct-08 3:59
Mark Salsbery14-Oct-08 3:59 
GeneralRe: MFC - Setting the custom color for the text selection in CRichEditCtrl Pin
led mike14-Oct-08 4:41
led mike14-Oct-08 4:41 
GeneralRe: MFC - Setting the custom color for the text selection in CRichEditCtrl Pin
Mark Salsbery14-Oct-08 5:33
Mark Salsbery14-Oct-08 5:33 

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.