Click here to Skip to main content
15,901,035 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBorland C++ Pin
seec00024-Oct-06 17:27
seec00024-Oct-06 17:27 
AnswerRe: Borland C++ Pin
Christian Graus4-Oct-06 18:56
protectorChristian Graus4-Oct-06 18:56 
GeneralRe: Borland C++ Pin
seec00024-Oct-06 19:17
seec00024-Oct-06 19:17 
AnswerRe: Borland C++ Pin
Monty24-Oct-06 20:44
Monty24-Oct-06 20:44 
QuestionOperator overloading Pin
Waldermort4-Oct-06 16:00
Waldermort4-Oct-06 16:00 
AnswerRe: Operator overloading Pin
Stephen Hewitt4-Oct-06 16:21
Stephen Hewitt4-Oct-06 16:21 
AnswerRe: Operator overloading Pin
Mark Salsbery4-Oct-06 16:29
Mark Salsbery4-Oct-06 16:29 
GeneralRe: Operator overloading Pin
Waldermort4-Oct-06 16:55
Waldermort4-Oct-06 16:55 
The casting operator works, thanks guys.

Mark Salsbery wrote:
Only a temp object is created for the assignment. foo will be undefined after that!


I realise this. This example I gave was very simple, there is infact a base class which stores the loaded string (hoping it will increase the performance a little). The purpose of this wrapper is to make it easier to pass strings into functions, so really I only need a temp assignment.
GeneralRe: Operator overloading Pin
Mark Salsbery4-Oct-06 17:04
Mark Salsbery4-Oct-06 17:04 
AnswerRe: Operator overloading Pin
Nibu babu thomas4-Oct-06 17:34
Nibu babu thomas4-Oct-06 17:34 
GeneralRe: Operator overloading Pin
Waldermort4-Oct-06 18:17
Waldermort4-Oct-06 18:17 
GeneralRe: Operator overloading Pin
Nibu babu thomas4-Oct-06 18:19
Nibu babu thomas4-Oct-06 18:19 
AnswerRe: Operator overloading Pin
Waldermort4-Oct-06 18:48
Waldermort4-Oct-06 18:48 
GeneralRe: Operator overloading Pin
Waldermort4-Oct-06 19:10
Waldermort4-Oct-06 19:10 
GeneralRe: Operator overloading Pin
Niklas L5-Oct-06 3:12
Niklas L5-Oct-06 3:12 
AnswerRe: Operator overloading Pin
David Crow5-Oct-06 3:17
David Crow5-Oct-06 3:17 
GeneralRe: Operator overloading Pin
Waldermort5-Oct-06 4:21
Waldermort5-Oct-06 4:21 
GeneralRe: Operator overloading Pin
David Crow5-Oct-06 4:30
David Crow5-Oct-06 4:30 
QuestionDynamic control creation problem Pin
b_e_n_824-Oct-06 13:26
b_e_n_824-Oct-06 13:26 
AnswerRe: Dynamic control creation problem Pin
PJ Arends4-Oct-06 16:54
professionalPJ Arends4-Oct-06 16:54 
AnswerRe: Dynamic control creation problem Pin
Hamid_RT4-Oct-06 19:28
Hamid_RT4-Oct-06 19:28 
AnswerRe: Dynamic control creation problem Pin
Niklas L5-Oct-06 3:17
Niklas L5-Oct-06 3:17 
AnswerRe: Dynamic control creation problem Pin
David Crow5-Oct-06 3:23
David Crow5-Oct-06 3:23 
Questionchange mesage box text Pin
jqt4-Oct-06 13:26
jqt4-Oct-06 13:26 
AnswerRe: change mesage box text Pin
Waldermort4-Oct-06 13:58
Waldermort4-Oct-06 13:58 

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.