Click here to Skip to main content
15,911,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: invoke non-static function using :: Pin
George_George22-Feb-08 23:29
George_George22-Feb-08 23:29 
GeneralRe: invoke non-static function using :: Pin
Rajkumar R22-Feb-08 23:46
Rajkumar R22-Feb-08 23:46 
GeneralRe: invoke non-static function using :: Pin
George_George22-Feb-08 23:50
George_George22-Feb-08 23:50 
GeneralRe: invoke non-static function using :: Pin
CPallini22-Feb-08 23:08
mveCPallini22-Feb-08 23:08 
GeneralRe: invoke non-static function using :: Pin
George_George22-Feb-08 23:31
George_George22-Feb-08 23:31 
GeneralRe: invoke non-static function using :: Pin
George_George22-Feb-08 23:51
George_George22-Feb-08 23:51 
GeneralRe: invoke non-static function using :: Pin
Rajkumar R22-Feb-08 23:03
Rajkumar R22-Feb-08 23:03 
GeneralRe: invoke non-static function using :: Pin
George_George22-Feb-08 23:09
George_George22-Feb-08 23:09 
Thanks Rajkumar,


1.

I have tried and when using char, the compile does not pass. So, the conclusion is, the source code is not finalized until we specify a type? And compiler will use the finalized template type to check compile rule?

(for example, in my original code, only int type is used, and only template specialization for int is used and compiled into final code?)

2.

It seems it is allowed to re-declar some method from non-static to static in template specialization class/struct. Is it good code or of any practical usage?


regards,
George
GeneralRe: invoke non-static function using :: Pin
Rajkumar R22-Feb-08 23:23
Rajkumar R22-Feb-08 23:23 
GeneralRe: invoke non-static function using :: Pin
George_George22-Feb-08 23:27
George_George22-Feb-08 23:27 
GeneralRe: invoke non-static function using :: Pin
Rajkumar R22-Feb-08 23:35
Rajkumar R22-Feb-08 23:35 
GeneralRe: invoke non-static function using :: Pin
George_George22-Feb-08 23:48
George_George22-Feb-08 23:48 
GeneralProblem when implement a class derived from CListCtrl which display image only (i.e. no label) [Updated] [modified] Pin
followait22-Feb-08 21:58
followait22-Feb-08 21:58 
QuestionHow can I browse filesystem in windows mobile device with SHBrowseForFolder Pin
fujoey22-Feb-08 20:46
fujoey22-Feb-08 20:46 
GeneralDLL function address Pin
George_George22-Feb-08 20:32
George_George22-Feb-08 20:32 
GeneralRe: DLL function address Pin
Stephen Hewitt24-Feb-08 17:25
Stephen Hewitt24-Feb-08 17:25 
GeneralRe: DLL function address Pin
George_George24-Feb-08 17:55
George_George24-Feb-08 17:55 
QuestionGdiplus Text problem Pin
trioum22-Feb-08 20:01
trioum22-Feb-08 20:01 
AnswerRe: Gdiplus Text problem Pin
Rajkumar R22-Feb-08 22:25
Rajkumar R22-Feb-08 22:25 
GeneralRe: Gdiplus Text problem Pin
trioum22-Feb-08 23:27
trioum22-Feb-08 23:27 
AnswerRe: Gdiplus Text problem Pin
Rajkumar R23-Feb-08 1:41
Rajkumar R23-Feb-08 1:41 
Generalunresolved external symbol _main referenced in function _mainCRTStartup Pin
Don Box22-Feb-08 19:53
Don Box22-Feb-08 19:53 
GeneralRe: unresolved external symbol _main referenced in function _mainCRTStartup Pin
CPallini22-Feb-08 22:26
mveCPallini22-Feb-08 22:26 
QuestionRe: unresolved external symbol _main referenced in function _mainCRTStartup Pin
Rajkumar R22-Feb-08 22:27
Rajkumar R22-Feb-08 22:27 
QuestionHow to Configure the Matlab Add-in for Visual Studio 6 to work within MSVisual C++. Pin
johnalek22-Feb-08 19:44
johnalek22-Feb-08 19:44 

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.