TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JONATHAN DE BOYNE POLLARD
from: CAMERON CLARK
date: 1997-12-09 13:46:00
subject: Re: Awareness ?

JD>  JJ> class foo { private:
JD>  JJ>   static int HowMany ;
JD>  JJ> public:
JD>  JJ>   foo() { ++HowMany ; }
JD>  JJ>   ~foo() { --HowMany ; }
JD>  JJ> } ;
JD> 
JD> This scheme doesn't work unless you provide a copy constructor as well.
    What about the fact that HowMany is not initialized and can be
    any number at runtime?
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.