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

C / C++ / MFC

 
Generalsimple dialog problem Pin
neha.agarwal2711-Dec-07 22:45
neha.agarwal2711-Dec-07 22:45 
GeneralRe: simple dialog problem Pin
CPallini11-Dec-07 22:54
mveCPallini11-Dec-07 22:54 
GeneralRe: simple dialog problem Pin
ThatsAlok13-Dec-07 0:17
ThatsAlok13-Dec-07 0:17 
GeneralRe: simple dialog problem Pin
David Crow13-Dec-07 5:06
David Crow13-Dec-07 5:06 
Generaltemplate function issue Pin
George_George11-Dec-07 22:39
George_George11-Dec-07 22:39 
GeneralRe: template function issue Pin
Matthew Faithfull11-Dec-07 23:03
Matthew Faithfull11-Dec-07 23:03 
GeneralRe: template function issue Pin
George_George12-Dec-07 0:15
George_George12-Dec-07 0:15 
GeneralRe: template function issue Pin
Matthew Faithfull12-Dec-07 2:51
Matthew Faithfull12-Dec-07 2:51 
George_George wrote:
I have the C++ Programming Language book at hand, but from section 13.3 (Function Template), I can not find the answer to my specific question.


This in itself is a pretty good clue that what you're wanting to know is a)obscure and b)probably compiler dependent. I'm afarid I don't know enough about modern compilers, despite having written analogues of most of the parts, to even take a good guess at how template parameter matching happens. One thing is almost certain, there will be priority orders established in terms of parameter positions, and matching against type modifers. This sort of prioritization is often dived into categories like is there a strong match (exact type equivalence), if not is there a weak match (different only by type one modifier) and then there'll be a priority order, or classification, of type modifers to determine which weak matches are tried first.
Compilers are beastly complicated and facinating things. If you want to get a really good idea of how they work look for something known as The Dragon Book, it's the bible of compiler writers (I never made it more than half way through ) Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: template function issue Pin
George_George12-Dec-07 3:22
George_George12-Dec-07 3:22 
Questionwhat it mean ? Pin
john563211-Dec-07 22:32
john563211-Dec-07 22:32 
AnswerRe: what it mean ? Pin
Cedric Moonen11-Dec-07 22:38
Cedric Moonen11-Dec-07 22:38 
AnswerRe: what it mean ? Pin
ThatsAlok13-Dec-07 0:18
ThatsAlok13-Dec-07 0:18 
Generalcannot convert from 'char *' to 'unsigned short *' Pin
santhoshv8411-Dec-07 21:50
santhoshv8411-Dec-07 21:50 
GeneralRe: cannot convert from 'char *' to 'unsigned short *' Pin
Cedric Moonen11-Dec-07 21:55
Cedric Moonen11-Dec-07 21:55 
GeneralRe: cannot convert from 'char *' to 'unsigned short *' Pin
CPallini11-Dec-07 22:01
mveCPallini11-Dec-07 22:01 
GeneralProblem in Opening HTML file. Pin
sanjeeva K Kanakam11-Dec-07 21:23
sanjeeva K Kanakam11-Dec-07 21:23 
GeneralRe: Problem in Opening HTML file. Pin
Iain Clarke, Warrior Programmer12-Dec-07 1:52
Iain Clarke, Warrior Programmer12-Dec-07 1:52 
Generalatof() losing precision Pin
Andy H11-Dec-07 20:33
Andy H11-Dec-07 20:33 
GeneralRe: atof() losing precision Pin
Cedric Moonen11-Dec-07 21:02
Cedric Moonen11-Dec-07 21:02 
GeneralRe: atof() losing precision Pin
Llasus11-Dec-07 21:07
Llasus11-Dec-07 21:07 
GeneralRe: atof() losing precision Pin
Cedric Moonen11-Dec-07 21:13
Cedric Moonen11-Dec-07 21:13 
GeneralFiles related Pin
rajanponnalagu11-Dec-07 19:35
rajanponnalagu11-Dec-07 19:35 
GeneralRe: Files related Pin
Llasus11-Dec-07 20:45
Llasus11-Dec-07 20:45 
GeneralRe: Files related Pin
rajanponnalagu11-Dec-07 21:21
rajanponnalagu11-Dec-07 21:21 
GeneralRe: Files related Pin
Sunil Shindekar11-Dec-07 23:38
Sunil Shindekar11-Dec-07 23:38 

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.