home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_06 / 9n06052b < prev    next >
Text File  |  1991-02-27  |  411b  |  14 lines

  1. #include "thing.hpp"
  2.  
  3. //  Thing.cpp - 2/27/91  --  Michael Kelly - Author
  4. //
  5. //    See Thing.hpp for definition of class Thing 
  6. //
  7. //  Assigning one Thing to another is a "shallow copy"
  8. //  so TheNullThing is used to "zero out" temporay
  9. //  variables that are in the Thing domain.  This
  10. //  way two different destructors do not try to
  11. //  release the same dynamic memory.
  12. //
  13. const Thing TheNullThing;
  14.