Click here to Skip to main content
15,921,062 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Assembly Wrappers Pin
kcynic30-Mar-08 21:08
kcynic30-Mar-08 21:08 
GeneralSmart Pointers Pin
Richard Andrew x6430-Mar-08 13:29
professionalRichard Andrew x6430-Mar-08 13:29 
GeneralRe: Smart Pointers Pin
Mark Salsbery30-Mar-08 14:53
Mark Salsbery30-Mar-08 14:53 
GeneralRe: Smart Pointers Pin
Richard Andrew x6430-Mar-08 14:58
professionalRichard Andrew x6430-Mar-08 14:58 
GeneralRe: Smart Pointers Pin
Rajkumar R30-Mar-08 19:40
Rajkumar R30-Mar-08 19:40 
GeneralRe: Smart Pointers Pin
cmk30-Mar-08 18:27
cmk30-Mar-08 18:27 
GeneralRe: Smart Pointers Pin
Chris Losinger31-Mar-08 1:42
professionalChris Losinger31-Mar-08 1:42 
Questionunique ID for each computer Pin
Joseph Marzbani30-Mar-08 9:54
Joseph Marzbani30-Mar-08 9:54 
GeneralRe: unique ID for each computer Pin
Richard Andrew x6430-Mar-08 14:08
professionalRichard Andrew x6430-Mar-08 14:08 
QuestionGetting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
Simon130-Mar-08 4:40
Simon130-Mar-08 4:40 
GeneralRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
Randor 30-Mar-08 7:46
professional Randor 30-Mar-08 7:46 
GeneralRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
Simon130-Mar-08 11:40
Simon130-Mar-08 11:40 
GeneralRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) [modified] Pin
Rajkumar R30-Mar-08 19:27
Rajkumar R30-Mar-08 19:27 
GeneralRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
JudyL_MD31-Mar-08 4:38
JudyL_MD31-Mar-08 4:38 
GeneralRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
Randor 31-Mar-08 4:53
professional Randor 31-Mar-08 4:53 
GeneralRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
JudyL_MD31-Mar-08 5:00
JudyL_MD31-Mar-08 5:00 
AnswerRe: Getting the information, if a softwrare is "running as administartor" (C++ / Windows Vista) Pin
graypx24-Jun-08 6:12
graypx24-Jun-08 6:12 
GeneralSTA component call MTA component Pin
George_George30-Mar-08 3:38
George_George30-Mar-08 3:38 
Generalgetting pixel(s) directly from the screen Pin
shja8830-Mar-08 3:26
shja8830-Mar-08 3:26 
GeneralRe: getting pixel(s) directly from the screen Pin
CPallini30-Mar-08 3:53
mveCPallini30-Mar-08 3:53 
GeneralRe: getting pixel(s) directly from the screen Pin
shja8830-Mar-08 4:13
shja8830-Mar-08 4:13 
QuestionRe: getting pixel(s) directly from the screen Pin
Hamid_RT7-Apr-08 2:31
Hamid_RT7-Apr-08 2:31 
Generalauto_ptr assignment compile error Pin
George_George30-Mar-08 0:51
George_George30-Mar-08 0:51 
GeneralRe: auto_ptr assignment compile error Pin
CPallini30-Mar-08 1:33
mveCPallini30-Mar-08 1:33 
IMHO your analysis is correct (both point 1 and 2. However, with regard to point 1, my interpretation is: since Goo copy constructor declares its argument const, then its content cannot be modified, but assigment operator of auto_ptr modify its argument, hence the problem).



George_George wrote:
What makes me confused is it seems the compile error message does not reflect my analysis (1) and (2) above. Any ideas?

I think that (it's just an hypothesis), since no auto_ptr copy constructor can match the this -> pf = input.pf;, the compiler tries to search for an assignment operator match, but it fails again and gives such error.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: auto_ptr assignment compile error Pin
George_George30-Mar-08 2:38
George_George30-Mar-08 2: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.