To disallow copying or assigning a class it\'s common practice to make the copy constructor
and assignment operator private. Both Google and Qt have macros to make this eas
Incidentally, if you have access to the Boost libraries (You don't? Why the heck not??), The Utility library has had the noncopyable class for a long time: