Click here to Skip to main content
16,018,637 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow make a smart reference expose methods of basetype ? Pin
Mr.Brainley20-Feb-07 23:05
Mr.Brainley20-Feb-07 23:05 
AnswerRe: How make a smart reference expose methods of basetype ? Pin
Cedric Moonen20-Feb-07 23:17
Cedric Moonen20-Feb-07 23:17 
GeneralRe: How make a smart reference expose methods of basetype ? [modified] Pin
Mr.Brainley20-Feb-07 23:54
Mr.Brainley20-Feb-07 23:54 
GeneralRe: How make a smart reference expose methods of basetype ? Pin
Cedric Moonen21-Feb-07 0:12
Cedric Moonen21-Feb-07 0:12 
GeneralRe: How make a smart reference expose methods of basetype ? Pin
Mr.Brainley21-Feb-07 0:42
Mr.Brainley21-Feb-07 0:42 
GeneralRe: How make a smart reference expose methods of basetype ? Pin
Cedric Moonen21-Feb-07 0:54
Cedric Moonen21-Feb-07 0:54 
GeneralRe: How make a smart reference expose methods of basetype ? Pin
Mr.Brainley21-Feb-07 1:18
Mr.Brainley21-Feb-07 1:18 
AnswerRe: How make a smart reference expose methods of basetype ? Pin
prasad_som21-Feb-07 1:12
prasad_som21-Feb-07 1:12 
Mr.Brainley wrote:
The compiler told me though, that i have to declare the cast operator


You need to apply that cast. Overloading operation MyClass doesn't mean that you can call members of MyClass using MyClassReference object. By doing this,you can cast MyClassReference class object for MyClass class.



Questionfocus window Pin
rushiraj.jhala20-Feb-07 22:46
rushiraj.jhala20-Feb-07 22:46 
AnswerRe: focus window Pin
prasad_som20-Feb-07 22:53
prasad_som20-Feb-07 22:53 
GeneralRe: focus window Pin
rushiraj.jhala20-Feb-07 23:04
rushiraj.jhala20-Feb-07 23:04 
AnswerRe: focus window Pin
prasad_som20-Feb-07 23:11
prasad_som20-Feb-07 23:11 
GeneralRe: focus window Pin
rushiraj.jhala20-Feb-07 23:15
rushiraj.jhala20-Feb-07 23:15 
AnswerRe: focus window Pin
prasad_som20-Feb-07 23:19
prasad_som20-Feb-07 23:19 
GeneralRe: focus window Pin
rushiraj.jhala20-Feb-07 23:25
rushiraj.jhala20-Feb-07 23:25 
AnswerRe: focus window Pin
prasad_som20-Feb-07 23:51
prasad_som20-Feb-07 23:51 
GeneralRe: focus window Pin
rushiraj.jhala20-Feb-07 23:59
rushiraj.jhala20-Feb-07 23:59 
GeneralRe: focus window Pin
prasad_som21-Feb-07 1:28
prasad_som21-Feb-07 1:28 
GeneralRe: focus window Pin
prasad_som21-Feb-07 1:47
prasad_som21-Feb-07 1:47 
GeneralRe: focus window Pin
rushiraj.jhala21-Feb-07 2:38
rushiraj.jhala21-Feb-07 2:38 
AnswerRe: focus window Pin
toxcct20-Feb-07 22:54
toxcct20-Feb-07 22:54 
GeneralRe: focus window Pin
rushiraj.jhala20-Feb-07 23:05
rushiraj.jhala20-Feb-07 23:05 
Question"how to add Html help " Pin
harsh_296120-Feb-07 22:35
harsh_296120-Feb-07 22:35 
AnswerRe: how to add Html help Pin
Hamid Taebi20-Feb-07 23:46
professionalHamid Taebi20-Feb-07 23:46 
AnswerRe: "how to add Html help " Pin
Mark Salsbery21-Feb-07 8:36
Mark Salsbery21-Feb-07 8:36 

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.