1//
2// Guards.h
3//
4
5
6#ifndef Poco_CppUnit_Guards_INCLUDED
7#define Poco_CppUnit_Guards_INCLUDED
8
9
10// Prevent copy construction and assignment for a class
11#define REFERENCEOBJECT(className) \
12private: \
13 className(const className& other); \
14 className& operator = (const className& other);
15
16
17#endif // Poco_CppUnit_Guards_INCLUDED
18