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

C / C++ / MFC

 
GeneralRe: Use template with "Conversion Functions" get problem. Pin
Stuart Dootson21-Jul-09 16:44
professionalStuart Dootson21-Jul-09 16:44 
GeneralRe: Use template with "Conversion Functions" get problem. Pin
hawkgao012921-Jul-09 19:02
hawkgao012921-Jul-09 19:02 
GeneralRe: Use template with "Conversion Functions" get problem. Pin
Stuart Dootson21-Jul-09 19:53
professionalStuart Dootson21-Jul-09 19:53 
GeneralRe: Use template with "Conversion Functions" get problem. Pin
hawkgao012921-Jul-09 21:40
hawkgao012921-Jul-09 21:40 
GeneralRe: Use template with "Conversion Functions" get problem. Pin
Stuart Dootson21-Jul-09 22:27
professionalStuart Dootson21-Jul-09 22:27 
GeneralRe: Use template with "Conversion Functions" get problem. Pin
hawkgao012921-Jul-09 23:01
hawkgao012921-Jul-09 23:01 
GeneralRe: Use template with "Conversion Functions" get problem. Pin
Stuart Dootson21-Jul-09 23:13
professionalStuart Dootson21-Jul-09 23:13 
GeneralRe: Use template with "Conversion Functions" get problem. [modified] Pin
hawkgao012921-Jul-09 23:25
hawkgao012921-Jul-09 23:25 
Do you notice the error message in my first post. Compiler seems have found the operator+ in CStringT and CStringT's parent class.
1>c:\build\test\test\test.cpp(19) : error C3767: '+': candidate function(s) not accessible
1>        could be the friend function at 'c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\atlsimpstr.h(653)' : '+'  [may be found via argument-dependent lookup]
...

And, Is my statement about "t1+(CString)t2" right?

modified on Wednesday, July 22, 2009 5:31 AM

GeneralRe: Use template with "Conversion Functions" get problem. Pin
Stuart Dootson22-Jul-09 0:11
professionalStuart Dootson22-Jul-09 0:11 
QuestionPosting too many messages Pin
Russell'21-Jul-09 0:13
Russell'21-Jul-09 0:13 
AnswerRe: Posting too many messages Pin
«_Superman_»21-Jul-09 0:23
professional«_Superman_»21-Jul-09 0:23 
QuestionDiable F12 in word using automation Pin
gadag21-Jul-09 0:12
gadag21-Jul-09 0:12 
QuestionOpp Concept Pin
zakkas248320-Jul-09 23:25
zakkas248320-Jul-09 23:25 
AnswerRe: Opp Concept Pin
_AnsHUMAN_ 20-Jul-09 23:31
_AnsHUMAN_ 20-Jul-09 23:31 
GeneralRe: Opp Concept Pin
zakkas248320-Jul-09 23:33
zakkas248320-Jul-09 23:33 
GeneralRe: Opp Concept Pin
_AnsHUMAN_ 20-Jul-09 23:49
_AnsHUMAN_ 20-Jul-09 23:49 
AnswerRe: Opp Concept Pin
Adam Roderick J20-Jul-09 23:50
Adam Roderick J20-Jul-09 23:50 
AnswerRe: Opp Concept Pin
Stuart Dootson20-Jul-09 23:54
professionalStuart Dootson20-Jul-09 23:54 
Questionrunning exe without having Visual studio installed Pin
MahaKh20-Jul-09 23:22
MahaKh20-Jul-09 23:22 
AnswerRe: running exe without having Visual studio installed Pin
_AnsHUMAN_ 20-Jul-09 23:29
_AnsHUMAN_ 20-Jul-09 23:29 
GeneralRe: running exe without having Visual studio installed Pin
MahaKh20-Jul-09 23:39
MahaKh20-Jul-09 23:39 
GeneralRe: running exe without having Visual studio installed Pin
_AnsHUMAN_ 20-Jul-09 23:44
_AnsHUMAN_ 20-Jul-09 23:44 
GeneralRe: running exe without having Visual studio installed Pin
MahaKh20-Jul-09 23:46
MahaKh20-Jul-09 23:46 
GeneralRe: running exe without having Visual studio installed Pin
Randor 21-Jul-09 1:38
professional Randor 21-Jul-09 1:38 
AnswerRe: running exe without having Visual studio installed Pin
Stuart Dootson20-Jul-09 23:50
professionalStuart Dootson20-Jul-09 23:50 

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.