Guards.h
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 0k
Development Platform:

C/C++

  1. #ifndef CPPUNIT_GUARDS_H
  2. #define CPPUNIT_GUARDS_H
  3. // Prevent copy construction and assignment for a class
  4. #define REFERENCEOBJECT(className) 
  5. private: 
  6.                className (const className& other); 
  7.     className& operator= (const className& other); 
  8. #endif