Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: template function argument deduce Pin
CPallini11-Mar-08 3:06
mveCPallini11-Mar-08 3:06 
GeneralRe: template function argument deduce Pin
George_George11-Mar-08 3:25
George_George11-Mar-08 3:25 
GeneralRe: template function argument deduce Pin
CPallini11-Mar-08 3:28
mveCPallini11-Mar-08 3:28 
GeneralRe: template function argument deduce Pin
George_George11-Mar-08 14:35
George_George11-Mar-08 14:35 
GeneralRe: template function argument deduce Pin
CPallini11-Mar-08 22:30
mveCPallini11-Mar-08 22:30 
GeneralRe: template function argument deduce Pin
George_George11-Mar-08 22:54
George_George11-Mar-08 22:54 
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 19:31
Stephen Hewitt11-Mar-08 19:31 
GeneralRe: template function argument deduce Pin
Rajkumar R11-Mar-08 20:33
Rajkumar R11-Mar-08 20:33 
yes steve, you are correct.

But, My understanding is "operator double()" and "operator int()" are not overloaded members instead it is two different overloaded operators for user-defined conversion of prototype "double operator double()" and "int operator int()" since conversion has the same return type of the conversion type the return type of the conversion operators are redundant and compiler gives error message "C2549: user-defined conversion cannot specify a return type" actually these functions differ not by return type but by the prototype itself.
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 20:56
Stephen Hewitt11-Mar-08 20:56 
GeneralRe: template function argument deduce Pin
Rajkumar R11-Mar-08 21:28
Rajkumar R11-Mar-08 21:28 
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 21:33
Stephen Hewitt11-Mar-08 21:33 
GeneralRe: template function argument deduce Pin
Rajkumar R11-Mar-08 21:36
Rajkumar R11-Mar-08 21:36 
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 21:39
Stephen Hewitt11-Mar-08 21:39 
GeneralRe: template function argument deduce [modified] Pin
Rajkumar R12-Mar-08 0:02
Rajkumar R12-Mar-08 0:02 
GeneralRe: template function argument deduce Pin
CPallini11-Mar-08 22:29
mveCPallini11-Mar-08 22:29 
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 19:33
Stephen Hewitt11-Mar-08 19:33 
GeneralRe: template function argument deduce Pin
George_George11-Mar-08 19:52
George_George11-Mar-08 19:52 
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 19:55
Stephen Hewitt11-Mar-08 19:55 
GeneralRe: template function argument deduce Pin
George_George11-Mar-08 20:35
George_George11-Mar-08 20:35 
GeneralRe: template function argument deduce Pin
Stephen Hewitt11-Mar-08 21:01
Stephen Hewitt11-Mar-08 21:01 
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 

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.