Click here to Skip to main content
15,890,185 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 21:13
Stephen Hewitt11-Mar-08 21:13 
GeneralRe: template function argument deduce Pin
George_George11-Mar-08 22:53
George_George11-Mar-08 22:53 
GeneralRe: template function argument deduce Pin
Stephen Hewitt13-Mar-08 13:50
Stephen Hewitt13-Mar-08 13:50 
GeneralRe: template function argument deduce Pin
George_George13-Mar-08 14:56
George_George13-Mar-08 14:56 
QuestionWhat will be the output Pin
KASR111-Mar-08 2:37
KASR111-Mar-08 2:37 
AnswerRe: What will be the output [modified] Pin
Rajkumar R11-Mar-08 2:43
Rajkumar R11-Mar-08 2:43 
GeneralRe: What will be the output Pin
toxcct11-Mar-08 3:41
toxcct11-Mar-08 3:41 
GeneralRe: What will be the output [modified] Pin
Rajkumar R11-Mar-08 3:54
Rajkumar R11-Mar-08 3:54 
Hi toxcct,

please check executing it. Are you getting exception?

And in the link provided in my orginal reply i explained my understanding.


toxcct wrote:
it's not a static function, nor a singleton.

AFAIK, most singleton implementation tries to keep the object instance as one for process, but other than that, it is same as normal class instance. It should crash, if its corresponding normal instance crashes.

modified on Tuesday, March 11, 2008 10:06 AM

GeneralRe: What will be the output Pin
CPallini11-Mar-08 5:27
mveCPallini11-Mar-08 5:27 
AnswerRe: What will be the output Pin
Maximilien11-Mar-08 2:49
Maximilien11-Mar-08 2:49 
AnswerRe: What will be the output Pin
CPallini11-Mar-08 2:52
mveCPallini11-Mar-08 2:52 
AnswerRe: What will be the output Pin
David Crow11-Mar-08 5:30
David Crow11-Mar-08 5:30 
GeneralRe: What will be the output Pin
Dieghito11-Mar-08 6:14
Dieghito11-Mar-08 6:14 
GeneralRe: What will be the output Pin
CPallini11-Mar-08 6:19
mveCPallini11-Mar-08 6:19 
GeneralRe: What will be the output Pin
Dieghito11-Mar-08 6:27
Dieghito11-Mar-08 6:27 
GeneralRe: What will be the output Pin
Maxwell Chen11-Mar-08 6:38
Maxwell Chen11-Mar-08 6:38 
AnswerRe: What will be the output Pin
Rajkumar R11-Mar-08 6:40
Rajkumar R11-Mar-08 6:40 
GeneralRe: What will be the output Pin
CPallini11-Mar-08 6:42
mveCPallini11-Mar-08 6:42 
GeneralRe: What will be the output Pin
Maxwell Chen11-Mar-08 6:55
Maxwell Chen11-Mar-08 6:55 
GeneralRe: What will be the output Pin
Rajkumar R11-Mar-08 6:59
Rajkumar R11-Mar-08 6:59 
GeneralRe: What will be the output Pin
Maxwell Chen11-Mar-08 7:15
Maxwell Chen11-Mar-08 7:15 
GeneralRe: What will be the output Pin
Rajkumar R11-Mar-08 6:43
Rajkumar R11-Mar-08 6:43 
GeneralRe: What will be the output Pin
CPallini11-Mar-08 6:53
mveCPallini11-Mar-08 6:53 
Generaltemplate argument Pin
George_George11-Mar-08 2:24
George_George11-Mar-08 2:24 
GeneralRe: template argument Pin
Rajkumar R11-Mar-08 2:35
Rajkumar R11-Mar-08 2:35 

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.