Slimelite BBS

cchar.hpp

Back to EMULATE

From Ed Beroset · 1996-04-04 19:56 · #73607 in EMULATE

In a msg on <Apr 04 13:56>, to Ed Beroset, Chris Downs writes:

 DM>> inline ostream& operator << (ostream& os, cchar& cc)
 DM>> {
 DM>> return os << cc.pchar;
 DM>> }

 EB>> Since you already have a cast from cchar to const char *
 EB>> defined, you don't really need this, do you?

 CD>  DM's "sin" was overenthusiasm.  

I believe that's been mentioned before.  ;-)  {hi, Darin!}

 CD> to declare  my assignment operator and copy constructor as 
 CD> private (with no  implementation) while I'm developing 

When I'm developing a class, I like to declare all the members as virtual void until I get it working.  ;-)

-> Ed <-

--- Squish v1.01
 * Origin: = Psychotronic BBS // 919-286-4542 // Durham, NC = (1:3641/1.250)