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 >
Wrap
Text File
|
1991-02-27
|
411b
|
14 lines
#include "thing.hpp"
// Thing.cpp - 2/27/91 -- Michael Kelly - Author
//
// See Thing.hpp for definition of class Thing
//
// Assigning one Thing to another is a "shallow copy"
// so TheNullThing is used to "zero out" temporay
// variables that are in the Thing domain. This
// way two different destructors do not try to
// release the same dynamic memory.
//
const Thing TheNullThing;