Slimelite BBS

Accessing base class def

Back to EMULATE

From Brian Harkness · 1996-04-10 04:53 · #73702 in EMULATE

Cliff Rhodes wrote in a reply to Brian Harkness:

 CR> You could simply do a cast:

 CR> (base &) *this = (const base &) d;

 CR> in place of the base::... statement.


Hello Cliff.

I had already tried the following cast:
 
    *this = (base &) d;
 
and it did not work, but I see that you have cast the left hand side of 
the assignment as well.  I'll give it a try, thanks for your help. 

Bye.

... This tagline is SHAREWARE!  To register, send me $10
--- FMail/386 1.02
 * Origin: North Lancs BBS  22:00 > 07:30  +44-1253-867500 (2:250/241)