2025-04-27 07:49:33 -04:00

13 lines
282 B
C

#ifndef CPPUNIT_GUARDS_H
#define CPPUNIT_GUARDS_H
// Prevent copy construction and assignment for a class
#define REFERENCEOBJECT(className) \
private: \
className (const className& other); \
className& operator= (const className& other);
#endif